* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #74ebd5, #ACB6E5);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}


/* Container */
.login-container {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    color: #2c3e50;
}

/* Logo */
form .logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 100px;
    height: auto;
    border-radius: 50%; /* makes it circular if the image fits */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Heading */
h1 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

/* Labels */
.login-container label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Inputs */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #2c3e50;
    outline: none;
}

/* Submit button */
.login-container input[type="submit"] {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.login-container input[type="submit"]:hover {
    background-color: #34495e;
}

/* Extra buttons & links */
button[type="button"] {
    margin-top: 15px;
    padding: 10px 15px;
    background: #ecf0f1;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="button"]:hover {
    background: #dcdcdc;
}

a {
    display: inline-block;
    margin-top: 12px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

/* -------------------- Dashboard -------------------- */
body.dashboard-body {
    display: block !important;     /* force override */
    align-items: unset !important;
    justify-content: unset !important;
    background: #f0f4f8;
}

/* Navbar */
navbar {
  background: #2c3e50;
  padding: 1rem 2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar nav a {
  color: black;
  margin-left: 15px;
  text-decoration: none;
}

.navbar nav a:hover {
  text-decoration: underline;
}

/* Wrapper centers content */
.dashboard-wrapper {
    max-width: 1100px;     /* wider container */
    margin: 30px auto;     /* centers horizontally */
    padding: 0 20px;
}

/* Dashboard grid */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
}

/* White cards */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: left; /* keeps text aligned properly */
}
