/* Product Modals - Modern Premium Design */
/* ======================================= */

/* Modal Base Styles */
.modal-content {
    border: none;
    border-radius: var(--radius-3xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 1;
}

/* Enhanced Modal Headers */
.modal-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
    position: relative;
}

.modal-title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-title i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
}

.modal-subtitle {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.btn-close {
    width: 32px;
    height: 32px;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--gray-500);
    transition: all 0.3s ease;
    opacity: 1;
}

.btn-close:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

/* Modal Body */
.modal-body {
    padding: 1.5rem 2rem 2rem;
}

/* Modal Footer */
.modal-footer {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1.5rem 2rem;
    background: rgba(248, 250, 252, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ==========================================
   CONTACT MODAL STYLES
   ========================================== */

/* Contact Options Grid */
.contact-options {
    margin-bottom: 2rem;
}

.contact-option {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.contact-option:hover::before {
    left: 0;
}

.contact-option:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.contact-option.active {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-4px);
}

.option-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-option:hover .option-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.option-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.option-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.option-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.option-status.offline {
    background: rgba(107, 114, 128, 0.1);
    color: var(--gray-500);
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(248, 250, 252, 0.8);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.form-label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.form-control, .form-select {
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
    outline: none;
    background: white;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.25rem;
    margin-top: 0.125rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Chat Interface */
.chat-interface {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(99, 102, 241, 0.2);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.agent-name {
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
}

.agent-status {
    font-size: 0.875rem;
    opacity: 0.9;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    animation: fadeInUp 0.3s ease;
}

.agent-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    background: rgba(99, 102, 241, 0.1);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 0.5rem;
}

.user-message .message-content {
    background: var(--primary-gradient);
    color: white;
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: right;
}

.user-message .message-time {
    text-align: left;
}

.chat-input {
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    padding: 1rem 1.5rem;
    background: rgba(248, 250, 252, 0.5);
}

.chat-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.action-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    color: var(--primary-color);
}

/* ==========================================
   SHARE MODAL STYLES
   ========================================== */

.social-share {
    margin-bottom: 2rem;
}

.share-section-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: white;
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: var(--gray-700);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 0;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.social-btn i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-btn span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Platform-specific colors */
.social-btn.facebook::before { background: #1877F2; }
.social-btn.facebook:hover { border-color: #1877F2; color: #1877F2; }

.social-btn.twitter::before { background: #1DA1F2; }
.social-btn.twitter:hover { border-color: #1DA1F2; color: #1DA1F2; }

.social-btn.linkedin::before { background: #0A66C2; }
.social-btn.linkedin:hover { border-color: #0A66C2; color: #0A66C2; }

.social-btn.whatsapp::before { background: #25D366; }
.social-btn.whatsapp:hover { border-color: #25D366; color: #25D366; }

.social-btn.telegram::before { background: #0088CC; }
.social-btn.telegram:hover { border-color: #0088CC; color: #0088CC; }

.social-btn.reddit::before { background: #FF4500; }
.social-btn.reddit:hover { border-color: #FF4500; color: #FF4500; }

/* Copy Link Section */
.copy-link {
    margin-bottom: 2rem;
}

.copy-link .input-group {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.2);
    background: white;
}

.copy-link .form-control {
    border: none;
    background: transparent;
    font-family: var(--font-family-mono);
    font-size: 0.875rem;
}

.copy-link .btn {
    border: none;
    background: var(--primary-gradient);
    color: white;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-link .btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Email Share Section */
.email-share {
    margin-bottom: 2rem;
}

.email-share-form .form-control {
    margin-bottom: 1rem;
}

.email-share-form .btn {
    background: var(--primary-gradient);
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.email-share-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* QR Code Section */
.qr-share {
    text-align: center;
}

.qr-code-container {
    background: rgba(248, 250, 252, 0.8);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray-400);
    border: 2px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.qr-code::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0.05;
}

.qr-instructions {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* ==========================================
   PREMIUM LOGIN MODAL STYLES
   ========================================== */

.premium-modal-dialog {
    max-width: 420px;
}

.premium-modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.premium-modal-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    margin-right: 1rem;
}

.modal-title-text h5 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-btn-close {
    width: 36px;
    height: 36px;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.premium-btn-close:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

.premium-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.premium-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.premium-form-group {
    position: relative;
}

.premium-form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.premium-input-container {
    position: relative;
}

.premium-form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.premium-form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
}

.premium-input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: var(--radius-full);
}

.premium-form-control:focus + .premium-password-toggle + .premium-input-focus-border,
.premium-form-control:focus + .premium-input-focus-border {
    transform: scaleX(1);
}

.premium-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.premium-password-toggle:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.premium-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.premium-checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.premium-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.25rem;
    position: relative;
    cursor: pointer;
}

.premium-checkbox:checked {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
}

.premium-checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.premium-checkbox:checked + .premium-checkbox-label .premium-checkbox-custom {
    color: white;
}

.premium-checkbox-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
}

.premium-forgot-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.premium-forgot-link:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
}

.premium-captcha-container {
    display: flex;
    justify-content: center;
}

.premium-login-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.premium-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.premium-login-btn:hover::before {
    left: 100%;
}

.premium-login-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-login-btn.loading .btn-content {
    opacity: 0;
}

.premium-login-btn.loading .btn-loading {
    opacity: 1;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.premium-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.premium-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(99, 102, 241, 0.2);
}

.divider-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 0 1rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.premium-register-section {
    text-align: center;
}

.register-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.premium-register-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.premium-register-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.premium-modal-footer {
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.8rem;
}

.footer-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991.98px) {
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-content {
        border-radius: var(--radius-2xl);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .social-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .social-btn {
        padding: 1rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .contact-options .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .premium-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .footer-features {
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .modal-body {
        padding: 1rem 1rem 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .contact-option {
        padding: 1.5rem 1rem;
    }
    
    .option-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        height: 250px;
        padding: 1rem;
    }
    
    .chat-header,
    .chat-input {
        padding: 1rem;
    }
    
    .premium-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .modal-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .premium-btn-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .footer-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-item {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .premium-login-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .chat-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-btn {
        justify-content: center;
    }
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

/* Focus states */
.contact-option:focus,
.social-btn:focus,
.premium-login-btn:focus,
.premium-register-btn:focus {
    outline: 3px solid rgba(99, 102, 241, 0.3);
    outline-offset: 2px;
}

.form-control:focus,
.form-select:focus,
.premium-form-control:focus {
    outline: none;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .modal-content {
        border: 2px solid #000;
    }
    
    .contact-option,
    .social-btn {
        border-width: 2px;
        border-color: #000;
    }
    
    .premium-login-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .contact-option:hover,
    .social-btn:hover,
    .premium-login-btn:hover {
        transform: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: rgba(26, 26, 46, 0.98);
        border-color: rgba(71, 85, 105, 0.3);
        color: var(--gray-200);
    }
    
    .modal-header {
        background: rgba(15, 15, 35, 0.8);
        border-color: rgba(71, 85, 105, 0.3);
    }
    
    .modal-footer {
        background: rgba(15, 15, 35, 0.5);
        border-color: rgba(71, 85, 105, 0.3);
    }
    
    .contact-option,
    .social-btn {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(71, 85, 105, 0.3);
        color: var(--gray-200);
    }
    
    .form-control,
    .form-select,
    .premium-form-control {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(71, 85, 105, 0.3);
        color: var(--gray-200);
    }
    
    .chat-interface {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(71, 85, 105, 0.3);
    }
    
    .chat-input {
        background: rgba(15, 15, 35, 0.5);
        border-color: rgba(71, 85, 105, 0.3);
    }
}

/* Print styles */
@media print {
    .modal {
        display: none !important;
    }
}