/**
 * Support Button Styles
 * Minimal, fast, no animation
 */

/* Floating Support Button */
.sc-support-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0073aa;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sc-support-button:hover {
    background: #005177;
}

/* Modal Overlay */
.sc-support-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.sc-support-modal-overlay.active {
    display: flex;
}

/* Modal */
.sc-support-modal {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sc-support-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sc-support-modal-title {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.sc-support-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
    width: 24px;
    height: 24px;
}

.sc-support-modal-close:hover {
    color: #333;
}

/* Form */
.sc-support-form-group {
    margin-bottom: 16px;
}

.sc-support-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.sc-support-form-group .required {
    color: #dc3232;
}

.sc-support-form-group input,
.sc-support-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.sc-support-form-group input:focus,
.sc-support-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.sc-support-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.sc-support-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.sc-support-btn-cancel {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.sc-support-btn-cancel:hover {
    background: #e5e5e5;
}

.sc-support-btn-submit {
    padding: 10px 20px;
    background: #0073aa;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.sc-support-btn-submit:hover {
    background: #005177;
}

.sc-support-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Message */
.sc-support-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 3px;
    font-size: 14px;
    display: none;
}

.sc-support-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sc-support-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading State */
.sc-support-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .sc-support-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .sc-support-modal {
        width: 95%;
        padding: 20px;
    }

    .sc-support-modal-title {
        font-size: 16px;
    }
}
