:root {
    --primary-color: #2c3e50;
    --secondary-color: #354393;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --success-color: #2ecc71;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Ubuntu', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.background-logo {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-image: url('fav.png'), url('fav.png');
    background-size: 30%, 30%;
    background-position: 10% center, 90% center;
    background-repeat: no-repeat, no-repeat;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

.title-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

h1 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.container {
    max-width: 800px;
    padding: 2rem;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
}

.form-label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(53, 67, 147, 0.25);
}

.form-control::placeholder {
    color: #bdc3c7;
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #2a3675;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

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

.invalid-feedback {
    color: var(--accent-color);
    font-weight: 500;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Estilos del Modal */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.success-icon {
    animation: scaleIn 0.5s ease-out;
}

.success-icon svg {
    color: var(--success-color) !important;
    filter: drop-shadow(0 4px 6px rgba(46, 204, 113, 0.3));
}

.modal-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.modal-body p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-backdrop.show {
    opacity: 0.8;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animación de entrada del modal */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
} 