/* Raw CSS Styles */
body {
    font-family: 'Inter', sans-serif; /* Fallback to sans-serif if Inter is not available */
    background-color: #f8fafc; /* Light gray background */
    color: #374151; /* Default text color */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Utility Classes (mimicking common Tailwind patterns for raw CSS) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* p-6 equivalent for lg:p-8 */
    padding-right: 1.5rem; /* p-6 equivalent for lg:p-8 */
}
@media (min-width: 1024px) { /* lg breakpoint */
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Flexbox utilities */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.space-x-4 > *:not(:first-child) { margin-left: 1rem; } /* space-x-4 */
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.items-end { align-items: flex-end; }

/* Shadows and Borders */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.border { border-width: 1px; border-style: solid; }
.border-gray-300 { border-color: #d1d5db; }
.border-blue-200 { border-color: #bfdbfe; }
.border-red-200 { border-color: #fecaca; }
.border-gray-200 { border-color: #e5e7eb; }

/* Rounded corners */
.rounded-md { border-radius: 0.375rem; } /* 6px */
.rounded-lg { border-radius: 0.5rem; } /* 8px */
.rounded-xl { border-radius: 0.75rem; } /* 12px */
.rounded-full { border-radius: 9999px; } /* max border-radius */

/* Spacing (padding, margin) */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Typography */
.text-white { color: #ffffff; }
.text-gray-800 { color: #1f2937; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-600 { color: #2563eb; }
.text-red-700 { color: #b91c1c; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; } /* Added for smaller tags */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; } /* 1.625 times font-size */

/* Background Colors */
.bg-blue-700 { background-color: #1d4ed8; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-white { background-color: #ffffff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-800 { background-color: #1f2937; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-red-50 { background-color: #fef2f2; }
.bg-opacity-75 { background-color: rgba(31, 41, 55, 0.75); } /* for modal overlay */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-blue-500 { --tw-gradient-from: #3b82f6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0)); }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }

/* Layout and Positioning */
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.relative { position: relative; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 64rem; } /* New max-width for passion checkboxes */
.max-w-md { max-width: 28rem; }
.w-auto { width: auto; } /* for sm:w-auto */
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { /* md breakpoint */
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* Transitions and Transforms */
.transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; }
.duration-300 { transition-duration: 300ms; }
.duration-200 { transition-duration: 200ms; }
.transform { transform: var(--tw-transform); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }

/* Hover States for Colors/Backgrounds */
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:text-blue-200:hover { color: #bfdbfe; }
.hover\:text-gray-700:hover { color: #374151; }

/* Form elements styling */
.form-input, .form-textarea, .form-select {
    padding: 0.75rem 1rem; /* p-3 p-4 equivalent */
    border-width: 1px;
    border-color: #d1d5db; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    width: 100%;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box; /* Ensures padding doesn't increase total width */
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: #3b82f6; /* focus:border-blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* focus:ring-blue-500 */
}
/* Added cursor for all interactive elements */
button, .form-checkbox, .form-input, .form-textarea, .form-select, a {
    cursor: pointer;
}

.form-checkbox {
    appearance: none; /* Hide default checkbox */
    display: inline-block;
    width: 1.25rem; /* h-5 */
    height: 1.25rem; /* w-5 */
    border-width: 1px;
    border-color: #d1d5db; /* border-gray-300 */
    border-radius: 0.25rem; /* rounded */
    vertical-align: middle;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.form-checkbox:checked {
    background-color: #2563eb; /* bg-blue-600 */
    border-color: #2563eb;
}
.form-checkbox:checked::before {
    content: '\2713'; /* Checkmark symbol */
    display: block;
    color: #ffffff;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.form-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* focus:ring-blue-500 */
}
.resize-y { resize: vertical; }

/* Specific section styling (used for passion finder, extracurriculars, scholarships, mentorship) */
.section-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    margin-bottom: 3rem; /* mb-12 */
}

/* Card styling for extracurriculars and scholarships */
.item-card {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1rem; /* p-4 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    border: 1px solid #e5e7eb; /* border border-gray-200 */
    transition: box-shadow 0.2s ease-in-out; /* transition duration-200 */
}
.item-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* hover:shadow-md */
}
.item-card h3 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #1d4ed8; /* text-blue-700 */
    margin-bottom: 0.5rem; /* mb-2 */
}
.item-card p {
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 0.5rem; /* mb-2 */
}
.item-card .tags span {
    display: inline-block;
    background-color: #eff6ff; /* bg-blue-50 */
    color: #2563eb; /* text-blue-600 */
    font-size: 0.75rem; /* text-xs */
    padding: 0.25rem 0.5rem; /* px-2 py-1 */
    border-radius: 0.25rem; /* rounded-md */
    margin-right: 0.5rem; /* mr-2 */
    margin-bottom: 0.5rem;
}

/* Styles for the new passion discovery checkboxes */
.passion-category-card {
    background-color: #f9fafb; /* bg-gray-50 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* shadow-md */
    border: 1px solid #e2e8f0; /* border-gray-200 */
    height: fit-content; /* Ensure cards don't stretch unnecessarily */
}

.passion-category-card h3 {
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1rem;
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #1d4ed8; /* text-blue-700 */
}

.checkbox-group label {
    display: block; /* Each label on its own line */
    margin-bottom: 0.5rem; /* Space between checkboxes */
    font-size: 0.95rem; /* Slightly larger text for readability */
    color: #374151; /* text-gray-700 */
    cursor: pointer;
    position: relative;
    padding-left: 1.75rem; /* Space for custom checkbox */
}

.checkbox-group input[type="checkbox"] {
    appearance: none; /* Hide default checkbox */
    position: absolute;
    left: 0;
    top: 0.15rem; /* Adjust vertical alignment */
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid #9ca3af; /* border-gray-400 */
    border-radius: 0.25rem; /* rounded */
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #2563eb; /* bg-blue-600 */
    border-color: #2563eb;
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: '\2713'; /* Checkmark symbol */
    display: block;
    color: #ffffff;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* focus:ring-blue-500 */
}

/* Styles for the Passion Discovery Report */
.passion-suggestion-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.25rem; /* p-5 */
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.passion-suggestion-card h4 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #1d4ed8; /* text-blue-700 */
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.passion-suggestion-card p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.passion-suggestion-card .explore-links a {
    display: inline-block;
    background-color: #e0f2fe; /* light blue */
    color: #1d4ed8; /* blue-700 */
    font-size: 0.875rem; /* text-sm */
    padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
    border-radius: 0.375rem; /* rounded-md */
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.passion-suggestion-card .explore-links a:hover {
    background-color: #bfdbfe; /* lighter blue */
}