.ft-e18f0b03-wrapper {
    position: fixed;
    z-index: 9999;
    transform: translateY(-50%);
    display: flex;
    align-items: flex-start;
}

.ft-pos-right {
    right: 0;
    flex-direction: row-reverse;
}

.ft-pos-left {
    left: 0;
    flex-direction: row;
}

.ft-e18f0b03-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-weight: bold;
    user-select: none;
    transition: background 0.3s;
}
.ft-pos-right .ft-e18f0b03-btn {
    border-radius: 5px 0 0 5px;
    transform: rotate(180deg);
}
.ft-pos-left .ft-e18f0b03-btn {
    border-radius: 0 5px 5px 0;
}

.ft-e18f0b03-panel {
    width: 300px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.4s ease-in-out;
    border-radius: 8px 0 0 8px;
}
.ft-pos-left .ft-e18f0b03-panel {
    border-radius: 0 8px 8px 0;
}

.ft-e18f0b03-wrapper.active .ft-e18f0b03-panel {
    max-width: 350px;
}

.ft-e18f0b03-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.ft-e18f0b03-panel-header h4 {
    margin: 0;
    font-size: 16px;
}
.ft-e18f0b03-close {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.ft-e18f0b03-panel-body {
    padding: 15px;
}

.ft-e18f0b03-field {
    margin-bottom: 15px;
}
.ft-e18f0b03-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}
.ft-e18f0b03-field input,
.ft-e18f0b03-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ft-e18f0b03-submit {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}
.ft-e18f0b03-thanks {
    text-align: center;
    font-size: 16px;
    color: #28a745;
    padding: 20px 0;
}