* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #87ceeb 0%, #e0f6ff 25%, #ffffff 50%, #e0f6ff 75%, #87ceeb 100%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* ============ TOP NAVIGATION ============ */
.top-nav {
    background: linear-gradient(135deg, #405d73 0%, #2d4a63 100%);
    color: white;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-nav .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.top-nav .logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.top-nav .logo img:hover {
    transform: scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h2 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
}

.logo-text p {
    font-size: 0.75rem;
    color: #b0d4b0;
    margin: 0;
}

/* ============ LOGIN WRAPPER ============ */
.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

/* ============ LOGIN CONTAINER ============ */
.login-container {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 10;
}

.login-header {
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: #1f4037;
    margin-bottom: 15px;
}

.login-header h2 {
    font-size: 1.8rem;
    color: #1f4037;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 0.9rem;
    color: #999;
}

/* ============ FORM INPUTS ============ */
.input-group {
    text-align: left;
    margin-bottom: 18px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f4037;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.input-group label i {
    color: #2ecc71;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #2ecc71;
    background: white;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
}

.input-group input::placeholder {
    color: #bbb;
}

/* ============ LOGIN BUTTON ============ */
.login-btn {
    width: 100%;
    padding: 13px;
    border: none;
    background: linear-gradient(135deg, #1f4037 0%, #132c1a 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.login-btn:hover {
    background: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 64, 55, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

/* ============ DIVIDER ============ */
.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    color: #999;
    font-size: 0.9rem;
}

/* ============ EXTRA LINKS ============ */
.extra-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.extra-links p {
    color: #666;
}

.extra-links a {
    color: #1f4037;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.extra-links a:hover {
  color: #2ecc71;
  transform: translateX(2px);
}

/* ============ FORGOT PASSWORD ============ */
.forgot-password {
  text-align: center;
  margin-top: 15px;
}

.forgot-password a {
  color: #1f4037;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.forgot-password a:hover {
  color: #2ecc71;
  transform: translateX(2px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .top-nav {
        padding: 12px 20px;
    }

    .login-wrapper {
        padding: 20px;
    }

    .login-container {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }
}
