/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4F46E5;
    /* Indigo 600 */
    --primary-dark: #4338CA;
    --secondary-color: #10B981;
    /* Emerald 500 */
    --accent-color: #F59E0B;
    --dark-bg: #111827;
    --light-bg: #F3F4F6;
    --card-bg: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --border-radius: 12px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark-bg);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.shadow-soft {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.rounded-custom {
    border-radius: var(--border-radius) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    opacity: 0.95;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    background: var(--card-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Sidebar (Admin) */
.admin-sidebar {
    min-height: 100vh;
    background-color: var(--dark-bg);
    color: #fff;
    padding-top: 20px;
}

.admin-sidebar .nav-link {
    color: #D1D5DB;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: 500;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
}

.admin-content {
    padding: 30px;
}

/* Navbar (Alumni) */
.navbar-custom {
    background-color: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.navbar-custom .nav-link {
    color: var(--text-main);
    font-weight: 500;
    margin-left: 15px;
}

.navbar-custom .nav-link.active {
    color: var(--primary-color);
}

/* Login/Register Page */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/bg.webp') no-repeat center center/cover;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Overlay to make text readable */
    z-index: 1;
}

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    /* Slight transparency */
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.brand-logo {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 1.5rem auto;
}

/* Form Enhancements */
.form-control,
.form-select {
    border: 1.5px solid #E5E7EB !important;
    /* Light gray border */
    background-color: #fff !important;
    padding: 12px 16px;
    transition: all 0.2s ease;
    border-radius: 10px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
    background-color: #fff !important;
}

.bg-light.border-0 {
    background-color: #fcfcfc !important;
    border: 1.5px solid #e0e0e0 !important;
}

label.form-label {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    color: #4B5563 !important;
}

/* Premium UI Enhancements */
.bg-premium-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.bg-premium-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.avatar-picker-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
}

.avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
}

.membership-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 1.25rem;
}

.form-label-premium {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block;
}