/* College Branding Styles */
:root {
    --college-primary: #1e3a8a;
    --college-secondary: #d4af37;
}

body {
    background-color: #f8fafc;
    position: relative;
    min-height: 100vh;
}

/* Watermark Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/college-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

/* College Header */
.college-header {
    background: linear-gradient(135deg, var(--college-primary) 0%, #1e40af 100%);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.college-logo {
    height: 60px;
    width: auto;
    margin-right: 15px;
    object-fit: contain;
}

.college-logo:not([src]) {
    display: none;
}

.college-name {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.college-name-line1 {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.2;
}

.college-name-line2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 2px;
}

/* Password Toggle */
.password-toggle {
    cursor: pointer;
    user-select: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    color: #6c757d;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #495057;
}

/* Profile Photo */
.profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-photo-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.profile-photo-medium {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Login Page Enhancements */
.login-page {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background-image: url('../images/college-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 600px;
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(5deg); }
}

.login-logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.login-college-name {
    color: white;
}

.login-college-name-line1 {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.login-college-name-line2 {
    font-size: 22px;
    font-weight: 600;
}

