.zibll-feedback-wrap {
    display: block;
    margin-bottom: 15px;
}

.zibll-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    color: #f59e0b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.zibll-feedback-btn:hover {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #d97706;
}

.zibll-feedback-btn i {
    font-size: 15px;
}

.zibll-feedback-icon-warning {
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.zibll-feedback-icon-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #f59e0b;
}

.zibll-feedback-icon-warning::after {
    content: '!';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.zibll-feedback-icon-close {
    width: 14px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.zibll-feedback-icon-close::before,
.zibll-feedback-icon-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #64748b;
}

.zibll-feedback-icon-close::before {
    transform: rotate(45deg);
}

.zibll-feedback-icon-close::after {
    transform: rotate(-45deg);
}

.zibll-feedback-modal-close:hover .zibll-feedback-icon-close::before,
.zibll-feedback-modal-close:hover .zibll-feedback-icon-close::after {
    background: #1e293b;
}

.zibll-feedback-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    overflow-y: auto;
}

.zibll-feedback-modal-overlay.active {
    display: flex;
}

.zibll-feedback-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zibll-feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.zibll-feedback-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.zibll-feedback-modal-close {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.zibll-feedback-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.zibll-feedback-modal-body {
    padding: 20px;
}

.zibll-feedback-form-group {
    margin-bottom: 16px;
}

.zibll-feedback-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.zibll-feedback-form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.zibll-feedback-form-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.zibll-feedback-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.zibll-feedback-form-textarea::placeholder {
    color: #94a3b8;
}

.zibll-feedback-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zibll-feedback-category-item {
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zibll-feedback-category-item:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.zibll-feedback-category-item.active {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.zibll-feedback-form-row {
    display: flex;
    gap: 12px;
}

.zibll-feedback-form-row .zibll-feedback-form-group {
    flex: 1;
}

.zibll-feedback-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.zibll-feedback-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.zibll-feedback-form-input::placeholder {
    color: #94a3b8;
}

.zibll-feedback-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.zibll-feedback-btn-cancel {
    padding: 10px 24px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zibll-feedback-btn-cancel:hover {
    background: #e2e8f0;
}

.zibll-feedback-btn-submit {
    padding: 10px 24px;
    background: #dc2626;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zibll-feedback-btn-submit:hover {
    background: #b91c1c;
}

.zibll-feedback-btn-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.zibll-feedback-success {
    padding: 12px 16px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #16a34a;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.zibll-feedback-success.show {
    display: block;
}

.zibll-feedback-error {
    padding: 12px 16px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.zibll-feedback-error.show {
    display: block;
}

.zibll-feedback-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: none;
}

.zibll-feedback-float.show {
    display: block;
}

#zibll-feedback-btn-float {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #f59e0b;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

#zibll-feedback-btn-float:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

#zibll-feedback-btn-float .zibll-feedback-icon-warning::before {
    border-bottom-color: #fff;
}

#zibll-feedback-btn-float .zibll-feedback-icon-warning::after {
    color: #f59e0b;
}

@media (max-width: 768px) {
    .zibll-feedback-form-row {
        flex-direction: column;
    }
    
    .zibll-feedback-modal {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .zibll-feedback-float {
        bottom: 20px;
        right: 20px;
    }
    
    #zibll-feedback-btn-float {
        padding: 10px 16px;
        font-size: 13px;
    }
}
