:root {
    --color-primary: #ff8c00;
    --color-secondary: #ff5e00;
    --color-accent: #ff3300;
    --color-text: #f0f0f0;
    --color-text-secondary: #a0a0a0;
    --color-background: #0a0a0a;
    --color-card: #1a1a1a;
    --color-card-hover: #222222;
    --color-input: #2a2a2a;
    --color-border: #333333;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23333333' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #0a0a0a 0%, #121212 50%, #0a0a0a 100%);
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.15), transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 51, 0, 0.15), transparent 25%);
    pointer-events: none;
    z-index: -1;
}

/* Animaciones básicas con CSS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Header con glassmorfismo */
.header {
    position: relative;
    padding: 1rem 0;
    text-align: center;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top right, rgba(255, 140, 0, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(255, 51, 0, 0.15), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo {
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-normal);
    border-radius: 50%;
    border: 1px solid rgba(255, 140, 0, 0.5);
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.2);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,0,0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 2s infinite ease-in-out;
}

.header-text {
    text-align: left;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: var(--color-text-secondary);
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
    width: 100%;
}

/* Tarjetas con glassmorfismo */
.card {
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.1), transparent 70%);
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.card-header h2 {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-header h2 i {
    margin-right: 0.8rem;
    font-size: 1.5rem;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Formularios */
.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.3s; }
.form-group:nth-child(5) { animation-delay: 0.4s; }
.form-group:nth-child(6) { animation-delay: 0.5s; }

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.form-group.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-center-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 1rem 0;
}

/* Formularios con glassmorfismo */
.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 1rem;
    transition: all var(--transition-normal);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: rgba(40, 40, 40, 0.6);
}

.form-control::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.6;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff8c00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

/* Campos de texto */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
    background-image: linear-gradient(to bottom, rgba(40, 40, 40, 0.4), rgba(20, 20, 20, 0.4));
    padding: 1.2rem;
}

textarea.form-control:focus {
    background-image: linear-gradient(to bottom, rgba(50, 50, 50, 0.4), rgba(30, 30, 30, 0.4));
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 51, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 51, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 140, 0, 0.1);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--color-success);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.btn-warning {
    background-color: var(--color-warning);
    color: #212529;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.btn-danger {
    background-color: var(--color-danger);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

/* Alertas */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    animation: slideUp 0.4s ease;
}

.alert i {
    margin-right: 0.8rem;
    font-size: 1.3rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    border-left: 4px solid var(--color-success);
    color: #bedac1;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    border-left: 4px solid var(--color-danger);
    color: #e7c5c8;
}

/* Tablas */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--color-card);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
}

.table th {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--color-primary);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--color-border);
}

.table th:first-child {
    border-top-left-radius: var(--radius-sm);
}

.table th:last-child {
    border-top-right-radius: var(--radius-sm);
}

.table tbody tr {
    transition: background-color var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.table tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--color-border);
}

/* Estados */
.status {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #e0cb75;
}

.status-pending::before {
    background-color: var(--color-warning);
}

.status-approved {
    background-color: rgba(40, 167, 69, 0.15);
    color: #8bd098;
}

.status-approved::before {
    background-color: var(--color-success);
}

.status-rejected {
    background-color: rgba(220, 53, 69, 0.15);
    color: #e7888f;
}

.status-rejected::before {
    background-color: var(--color-danger);
}

/* Footer con glassmorfismo mejorado */
.footer {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    margin-top: auto;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        var(--color-primary) 30%, 
        var(--color-secondary) 50%, 
        var(--color-accent) 70%, 
        transparent 100%
    );
    opacity: 0.5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    height: 50px;
    filter: brightness(0.8) contrast(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
    opacity: 0.8;
    border-radius: 5px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.3);
}

.footer-logo:hover {
    filter: brightness(1) contrast(1.5) drop-shadow(0 2px 8px rgba(255, 140, 0, 0.5));
    opacity: 1;
    transform: translateY(-2px);
}

.footer-text {
    text-align: center;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 0.4rem;
    font-size: 1rem;
    color: var(--color-primary);
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Admin panel specific styles */
.actions {
    display: flex;
    gap: 0.5rem;
}

.login-form {
    max-width: 450px;
    margin: 0 auto;
}

.application-details {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
}

/* Radio y checkbox personalizado */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
    background-color: var(--color-input);
}

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

.form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25);
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    transform: none;
}

.form-check-label {
    font-size: 1rem;
    user-select: none;
}

/* Grupos de radio buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.radio-option {
    flex: 1;
    min-width: 120px;
    position: relative;
}

.radio-option input[type="radio"] {
    display: none;
}

/* Radio buttons con glassmorfismo */
.radio-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 0;
    height: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.radio-option label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    margin-right: 8px;
    transition: all var(--transition-normal);
    background-color: transparent;
}

.radio-option input[type="radio"]:checked + label {
    background-color: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.5);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.radio-option input[type="radio"]:checked + label::before {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    box-shadow: inset 0 0 0 3px rgba(30, 30, 30, 0.8);
}

.radio-option:hover label {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 0;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Loader */
.loader {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--color-card);
    color: var(--color-text);
    text-align: center;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* reCAPTCHA customization */
.g-recaptcha {
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.dark-captcha {
    filter: invert(85%) hue-rotate(180deg);
    transition: filter 0.3s ease;
}

.dark-captcha:hover {
    filter: invert(75%) hue-rotate(180deg);
}

/* Character counter */
.char-counter {
    text-align: right;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.char-counter::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    background-color: var(--color-text-secondary);
    transition: background-color 0.3s ease;
}

.char-counter.error {
    color: var(--color-danger);
}

.char-counter.error::before {
    background-color: var(--color-danger);
}

.char-counter.success {
    color: var(--color-success);
}

.char-counter.success::before {
    background-color: var(--color-success);
}

/* Search field */
.search-container {
    position: relative;
}

.search-input {
    padding-left: 2.5rem;
    width: 250px;
    transition: width 0.3s ease;
}

.search-input:focus {
    width: 300px;
}

.search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    pointer-events: none;
}

/* Estilos para las chispas de fuego mejoradas */
@keyframes fireFloat {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.8) rotate(0deg);
    }
    20% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0.3) rotate(45deg);
    }
}

@keyframes fireGlow {
    0% {
        box-shadow: 0 0 4px 2px rgba(255, 140, 0, 0.3);
        filter: hue-rotate(0deg);
    }
    50% {
        box-shadow: 0 0 8px 4px rgba(255, 69, 0, 0.5);
        filter: hue-rotate(10deg);
    }
    100% {
        box-shadow: 0 0 6px 3px rgba(255, 140, 0, 0.4);
        filter: hue-rotate(0deg);
    }
}

.fire-sparks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.fire-spark {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.8) 0%, rgba(255, 69, 0, 0.4) 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    transform: translateY(0);
    animation: fireFloat 3s ease-out forwards, fireGlow 2s infinite alternate;
}

/* Rules buttons */
.rules-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .table thead {
        display: none;
    }
    
    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        padding: 0.5rem;
    }
    
    .table tbody td {
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 0.5rem 0;
    }
    
    .table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-option {
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-content {
        margin: 0 1rem;
    }
    
    .search-input,
    .search-input:focus {
        width: 100%;
    }

    .footer-logos {
        gap: 1rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
} 

/* Discord authentication styles */
.discord-auth-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-discord {
    background-color: #5865F2;
    color: white;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.btn-discord:hover {
    background-color: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}

.btn-discord:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(88, 101, 242, 0.4);
}

.discord-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(88, 101, 242, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 15px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    animation: fadeIn 0.3s ease;
}

.discord-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-icon {
    color: #5865F2;
    font-size: 1.5rem;
}

#discord-username-display {
    font-weight: 600;
    color: var(--color-text);
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9rem;
}

/* Responsive styles for Discord auth */
@media (max-width: 768px) {
    .discord-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .discord-user {
        width: 100%;
        justify-content: center;
    }
    
    #disconnect-discord {
        width: 100%;
    }
} 