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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #c3dafe 100%);
    padding: 20px;
}

.sidebar {
    width: 250px;
    background: #1a237e;
    color: white;
    padding: 20px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
}

.sidebar h2 img {
    width: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

.sidebar .nav-links {
    list-style: none;
}

.sidebar .nav-links li {
    margin: 10px 0;
}

.sidebar .nav-links button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #283593;
    color: white;
    text-align: left;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar .nav-links button:hover {
    background: #3949ab;
}

#accountType {
  width: 100%;
  padding: 0.9rem;
  margin: 0.7rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #333;
  cursor: pointer;
}

#accountType:focus {
  border-color: #1a237e;
  outline: none;
}

#accountType option {
  padding: 10px;
  font-size: 1rem;
}

.login-box {
    max-width: 420px;
    margin: 50px auto;
    margin-left: 270px;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

h1 {
    margin-bottom: 1.8rem;
    color: #1a237e;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

input {
    width: 100%;
    padding: 0.9rem;
    margin: 0.7rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.3);
    transform: scale(1.02);
}

input::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}
button {
    width: 48%;
    padding: 0.85rem;
    margin: 0.5rem 1%;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
#btn {
    background: linear-gradient(135deg, #1a237e, #3949ab);
}

#btn:hover {
    background: linear-gradient(135deg, #303f9f, #5c6bc0);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}
#rbtn {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
}

#rbtn:hover {
    background: linear-gradient(135deg, #be123c, #fb7185);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 63, 94, 0.4);
}
p {
    margin-top: 5px;
    font-size: 0.95rem;
    color: #475569;
}

p a {
    color: #1a237e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
p a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .login-box {
        margin-left: 0;
        margin-top: 20px;
    }
    h1 {
        font-size: 1.6rem;
    }
    button {
        width: 100%;
        margin: 0.5rem 0;
    }
    input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}