/* BASE RESET AND TAILWIND UTILITY REPLACEMENT */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
    background-color: #f9fafb; /* bg-gray-50 */
    color: #1f2937; /* text-gray-800 */
}
a { text-decoration: none; }
button { cursor: pointer; border: none; }

/* HEADER STYLES */
header {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #f3f4f6;
}
.top-bar {
    background: linear-gradient(to right, #1e3a8a, #3730a3);
    color: white;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.nav-link {
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s;
    padding-bottom: 0.25rem;
}
.nav-link:hover { color: #2563eb; }
.nav-link.active {
    color: #111827;
    border-bottom: 2px solid #2563eb;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3a8a;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 1280px; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.h-20 { height: 5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* PORTAL PAGE COMMON STYLES */
main {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem;
}
.portal-header-banner {
    background: linear-gradient(to right, #1e3a8a, #3730a3);
    color: white;
    padding: 3rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}
.portal-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.rounded-2xl { border-radius: 1rem; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }

/* TAB NAVIGATION */
.tab-nav {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    background: none;
    white-space: nowrap;
}
.tab-btn.active {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}
.tab-content {
    padding: 1.5rem 0;
}

/* FORM STYLES */
.form-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}
.form-cta-button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
}
.form-cta-button:hover {
    background-color: #1d4ed8;
}

/* CARD STYLES (General) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* FLOATING BUTTON STYLES (General) */
#floating-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}
#toggle-forms-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
#forms-dropdown {
    position: absolute;
    bottom: 4rem;
    right: 0;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    padding: 1rem;
    width: 16rem;
    margin-bottom: 0.5rem;
    display: none;
}
.form-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
}
.form-link-trainer { background-color: #2563eb; }
.form-link-student { background-color: #16a34a; }
.form-link-job { background-color: #ea580c; }
.form-link-entertainment { background-color: #9333ea; }
.form-link-internship { background-color: #4f46e5; }
.form-link-view-all { background: linear-gradient(to right, #2563eb, #4f46e5); font-weight: 700; margin-top: 1rem;}