/* Form inputs */
.form-input {
    transition: all 0.2s ease-in-out;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-input.active {
    border-color: #3b82f6;
}

.relative.focused .text-gray-400 {
    color: #3b82f6;
    transition: color 0.2s ease;
}

/* Error styles */
.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* Button styles */
.btn {
    transition: all 0.2s ease-in-out;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    border: 1px solid #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.btn-outline {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: #4b5563;
}

.btn-outline:hover {
    background-color: #f8fafc;
    border-color: #d1d5db;
}

/* Password toggle styles */
.toggle-password, .toggle-confirm-password {
    transition: all 0.2s ease;
}

.toggle-password:hover, .toggle-confirm-password:hover {
    color: #3b82f6 !important;
}

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

.animated-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

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

/* Icon transitions */
svg {
    transition: all 0.2s ease;
}

/* Card hover effects */
.hover-shadow-effect {
    transition: all 0.3s ease;
}

.hover-shadow-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hover shadows */
.hover-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Login background */
.login-bg {
    background-image: url('/img/fondo_login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

/* Card styles */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Progress bar styles */
.progress-bar {
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s ease;
}

/* Career cards */
.career-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.career-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.career-card.selected {
    border-color: #3b82f6;
    background-color: #f0f7ff;
}

/* Exam question styles */
.question-container {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.option-item {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-item:hover {
    background-color: #f3f4f6;
}

.option-item.selected {
    background-color: #dbeafe;
    border-color: #93c5fd;
}

/* Subject card styles */
.subject-card {
    transition: all 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}