/* Support Ticket Modal Styles */

.support-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

[data-theme="dark"] .support-modal-overlay {
    background-color: rgba(0, 0, 0, 0.75);
}

.support-modal-overlay.show {
    opacity: 1;
}

.support-modal {
    background-color: var(--bg-elevated);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-primary);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-primary);
}

.support-modal-overlay.show .support-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.support-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-elevated);
}

.support-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.support-modal-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
}

.support-modal-close:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.support-modal-body {
    padding: 1.5rem;
}

.support-form-group {
    margin-bottom: 1.25rem;
}

.support-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.support-form-input,
.support-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
}

.support-form-input:focus,
.support-form-textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-light);
}

.support-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.support-form-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-primary);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    background-color: var(--bg-secondary);
}

.support-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.support-modal-btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-inverse);
    border-color: var(--accent-primary);
}

.support-modal-btn-primary:hover {
    background-color: var(--accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.support-modal-btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.support-modal-btn-secondary:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 640px) {
    .support-modal {
        max-width: 100%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .support-modal-header,
    .support-modal-body {
        padding: 1.25rem;
    }
    
    .support-form-footer {
        flex-direction: column-reverse;
        padding: 1rem;
    }
    
    .support-modal-btn {
        width: 100%;
        justify-content: center;
    }
}
