/* style.css */

/* Import the Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&display=swap');

/* Apply Inter font globally, though Tailwind config also sets it */
body {
    font-family: 'Inter', sans-serif;
}

/* Custom animations for presentation section */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s; /* Delay for the second line */
}

/* Ensure images fit within their containers and maintain aspect ratio */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

/* Basic styling for form elements that might need slight adjustments */
input[type="text"],
input[type="number"],
input[type="date"],
textarea,
select {
    /* Ensure consistent padding and border for all form inputs */
    padding: 0.75rem; /* Equivalent to p-3 in Tailwind */
    border-radius: 0.375rem; /* Equivalent to rounded-md in Tailwind */
    border: 1px solid #D1D5DB; /* Equivalent to border-gray-300 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Equivalent to shadow-sm */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #FFA726; /* Naranja */
    box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.5); /* Focus ring with Naranja */
}

/* Style for checkboxes */
input[type="checkbox"] {
    /* Custom styling for checkboxes to match theme */
    appearance: none; /* Hide default checkbox */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.25rem; /* h-5 */
    height: 1.25rem; /* w-5 */
    border: 2px solid #FFA726; /* Naranja border */
    border-radius: 0.25rem; /* rounded */
    background-color: #FFFFFF; /* Blanco background */
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    background-color: #FFA726; /* Naranja background when checked */
    border-color: #FFA726; /* Naranja border when checked */
}

input[type="checkbox"]:checked::after {
    /* Checkmark icon for checked state */
    content: '\2713'; /* Unicode checkmark */
    color: #FFFFFF; /* Blanco checkmark */
    font-size: 0.8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ensure buttons have consistent styling */
button {
    cursor: pointer;
}
