
/* ====== SOPORTE STYLES - CONSISTENTE CON INDEX.HTML ====== */

/* Variables CSS para consistencia */
:root {
    --primary-color: #DC143C;
    --secondary-color: #8B0000;
    --background-gradient: linear-gradient(135deg, #0a0a0a, #1a1a1a, #0f0f0f);
    --card-gradient: linear-gradient(145deg, #2a0000, #1a0000);
    --text-primary: #ffffff;
    --text-secondary: #FFB6C1;
    --text-muted: #cccccc;
    --border-radius: 12px;
    --shadow-primary: 0 10px 30px rgba(139, 0, 0, 0.4);
    --shadow-hover: 0 15px 40px rgba(139, 0, 0, 0.6);
}

/* Override body styles if needed */
body {
    background: var(--background-gradient);
    font-family: 'Arial', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Ensure proper page centering */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 20px 0;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 900;
    letter-spacing: 2px;
}

.banner p {
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Support Container */
.support-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
    display: block;
    position: relative;
}

/* Support Info Section */
.support-info-section {
    margin-bottom: 30px;
}

.support-info-card {
    background: var(--card-gradient);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.support-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #ff1450;
}

.info-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.3);
}

.info-content h3 {
    color: var(--text-secondary);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Auth Required Section */
.auth-required-section {
    margin-bottom: 30px;
}

.auth-required-card {
    background: var(--card-gradient);
    border: 2px solid rgba(255, 165, 0, 0.6);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
}

.auth-icon {
    margin-bottom: 20px;
}

.auth-icon i {
    font-size: 48px;
    color: #FFA500;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
}

.auth-content h3 {
    color: var(--text-secondary);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
}

.auth-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-action-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-action {
    background: transparent;
    color: var(--primary-color);
}

.login-action:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.register-action {
    background: var(--primary-color);
    color: white;
}

.register-action:hover {
    background: #ff1450;
    border-color: #ff1450;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

/* Support Form Section */
.support-form-section {
    margin-bottom: 50px;
}

.form-container {
    background: var(--card-gradient);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.form-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 25px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(220, 20, 60, 0.3);
}

.form-header h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

.support-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(139, 0, 0, 0.1);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input option {
    background: #1a0000;
    color: white;
    padding: 10px;
}

.char-counter {
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-top: 5px;
}

.input-helper {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.5);
    background: linear-gradient(135deg, #A0002A, #FF1450);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-container {
    max-width: 500px;
    margin: 20px;
    width: 100%;
}

.modal-content {
    background: var(--card-gradient);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-primary);
    position: relative;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon i {
    font-size: 48px;
}

.modal-icon.success i {
    color: #28a745;
    filter: drop-shadow(0 0 10px rgba(40, 167, 69, 0.5));
}

.modal-content h3 {
    color: var(--text-secondary);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.5);
    background: linear-gradient(135deg, #A0002A, #FF1450);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .support-container {
        padding: 0 15px;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .support-info-card {
        padding: 25px;
        gap: 20px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
    }
    
    .banner {
        height: 180px;
    }
    
    .banner h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .banner p {
        font-size: 15px;
    }
    
    .support-container {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .support-info-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .info-content h3 {
        font-size: 20px;
    }
    
    .info-content p {
        font-size: 14px;
    }
    
    .auth-required-card {
        padding: 30px 20px;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-action-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h3 {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }
    
    .support-form {
        padding: 25px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 60px;
    }
    
    .banner {
        height: 140px;
    }
    
    .banner h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .banner p {
        font-size: 14px;
    }
    
    .support-container {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    .support-info-card {
        padding: 20px 15px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .info-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .info-content p {
        font-size: 13px;
    }
    
    .auth-required-card {
        padding: 25px 15px;
    }
    
    .auth-content h3 {
        font-size: 20px;
    }
    
    .auth-content p {
        font-size: 14px;
    }
    
    .auth-action-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .form-header {
        padding: 18px 15px;
    }
    
    .form-header h3 {
        font-size: 18px;
    }
    
    .form-header p {
        font-size: 13px;
    }
    
    .support-form {
        padding: 20px 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .form-textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 16px;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-content h3 {
        font-size: 20px;
    }
    
    .modal-content p {
        font-size: 14px;
    }
    
    .modal-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Slide Menu styles - Consistent with index.html */
.slide-menu {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #000000, #1a0000);
    z-index: 1001;
    transition: left 0.3s ease;
    padding-top: 80px;
    border-right: 2px solid var(--primary-color);
}

.slide-menu.open {
    left: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-item {
    display: block;
    padding: 15px 30px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: rgba(220, 20, 60, 0.2);
    padding-left: 40px;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
}

.menu-close i {
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-close i:hover {
    color: var(--primary-color);
}

.menu-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Mobile Auth Section */
.mobile-auth-section {
    border-top: 1px solid rgba(220, 20, 60, 0.3);
    margin-top: 20px;
    padding-top: 20px;
}

.mobile-auth-btn {
    background: rgba(139, 0, 0, 0.2);
    margin-bottom: 10px;
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 6px;
}

.mobile-auth-btn:hover {
    background: rgba(220, 20, 60, 0.3);
}

.mobile-auth-btn#mobileLogoutBtn {
    background: rgba(102, 102, 102, 0.2);
    border-color: rgba(102, 102, 102, 0.3);
}

.mobile-auth-btn#mobileLogoutBtn:hover {
    background: rgba(102, 102, 102, 0.3);
}

/* Desktop Auth Buttons - Consistent with index.html */
.desktop-auth {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.auth-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn {
    background: transparent;
    color: var(--primary-color);
}

.login-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.register-btn {
    background: var(--primary-color);
    color: white;
}

.register-btn:hover {
    background: #ff1450;
    border-color: #ff1450;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.logout-btn {
    background: #555;
    color: white;
    border-color: #666;
}

.logout-btn:hover {
    background: #666;
    border-color: #777;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.3);
}

.desktop-user-menu {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

/* Mobile styles - hide auth buttons */
@media (max-width: 768px) {
    .desktop-auth {
        display: none !important;
    }

    .desktop-user-menu {
        display: none !important;
    }

    .username {
        display: none;
    }

    .mobile-auth-section {
        display: block;
    }
}

/* Desktop styles - hide mobile auth section */
@media (min-width: 769px) {
    .mobile-auth-section {
        display: none;
    }
}

/* Desktop styles - hide username */
@media (min-width: 769px) {
    .username {
        display: none;
    }
}

/* Header styles consistent with index.html */
.header {
    background: linear-gradient(135deg, #000000, #1a0000);
    border-bottom: 3px solid var(--primary-color);
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.menu-toggle {
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.logo-img {
    height: 80px;
    width: auto;
}

.username {
    color: var(--text-secondary);
    font-weight: bold;
    margin-left: auto;
}

/* Animations and effects consistent with style.css */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

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

/* Apply animations to specific icons */
.form-label i,
.modal-icon i,
.auth-icon i,
.info-icon i {
    animation: iconPulse 2s ease-in-out infinite;
}

.submit-btn:hover i,
.modal-btn:hover i,
.auth-action-btn:hover i {
    animation: iconSpin 1s linear infinite;
}

/* Loading animation for submit button */
.fa-spinner {
    animation: iconSpin 1s linear infinite !important;
}
