body {
    font-family: Arial, sans-serif;
    background-image: url("images/IMG-20250514-WA0017.jpg"); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.login-background {
    font-family: Arial, sans-serif;
    background-image: url("images/prom_login.jpg"); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.super-reg-background {
    font-family: Arial, sans-serif;
    background-image: url("images/cargdet.jpg"); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 350px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.85); /* semi-transparent white */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    
}

.school-logo {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

.logo-wrapper {
    text-align: center;
}


h1 {
    text-align: center;
    font-size: 36px;
    color: #8B4513;   /* Brown */
}

h4 {
    text-align: center;
    font-size: 18px;
    color: #c2af09ea;
  }

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
  }

button {
    width: 100%;
    padding: 10px;
    background-color: #8B4513;  /* Brown */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

  button:hover {
    background-color: #6f350f;  /* Darker brown hover */
}

.error {
    color: red;
    font-size: 14px;
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
    font-family: inherit;
}

select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* === Super Admin Dashboard === */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.dashboard-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #003366;
    color: white;
    padding: 20px;
}

.sidebar h2 {
    font-size: 22px;
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.sidebar a:hover {
    background-color: #00509e;
}

.main-content {
    flex: 1;
    background-color: #f5f5f5;
    padding: 40px;
}

.main-content h1 {
    margin-bottom: 20px;
}

.logout {
    margin-top: 50px;
    display: inline-block;
    background-color: crimson;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.logout:hover {
    background-color: darkred;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    overflow: hidden;
}

/* Full dashboard layout fix */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Flex container */
.dashboard-container {
    display: flex;
    flex-direction: row;  /* Ensure horizontal layout */
    height: 100vh;
}

/* Sidebar fixed to the left */
.sidebar {
    width: 250px;
    background-color: #003366;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    height: 100vh;              /* Full vertical height */
    position: fixed;            /* Stay fixed on the left */
    top: 0;
    left: 0;
    overflow-y: auto;
}

/* Push main content to the right of sidebar */
.main-content {
    margin-left: 250px;         /* Same as sidebar width */
    padding: 40px;
    background-color: #f5f5f5;
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* register-link */
.register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #240679;
}

.register-link a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}
