@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
body {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    overflow-x: hidden;
    line-height: 1.5;
    background: #fff;
}

:root {
    --background-color:#e3e3e3;
    --primary-color: #ED145B;
    --secondary-color: #d71921;
    --secondary-color-extra: #d71921;
    --en-font : "Maven Pro", sans-serif;
}

/*==== COMMON CSS START ====*/
p {
    margin: 0;
    color: #000;
    padding: 0;
}
button,
button:focus,
button:active {
    outline: none !important;
    box-shadow: 0 0 !important;
}
form input::placeholder {
    font-size: 15px;
    color: #888;
    text-align: left !important;
}

ul,
ol {
    margin: 0;
    padding: 0;
}
li {
    display: inline-block;
    list-style: none;
}

a,
a:hover,
a,
a:hover,
a:focus {
    color: #000;
    text-decoration: none;
    outline-offset: 0;
    outline: 0;
    transition: 0.35s all;
}
button,
button:focus,
button:active {
    text-decoration: none;
    border: 0;
    outline: 0;
}
.form-control,
.form-control:focus,
input,
input:focus {
    outline: 0;
    border: 0;
    box-shadow: 0 0 !important;
}
.form-control, .form-control:focus, input, input:focus {
    outline: 0;
    border: 0;
    box-shadow: 0 0 !important;
    outline: 1px;
    border: 1px solid #ddd;
}
.parsley-errors-list {
    color: var(--secondary-color);
}
.parsley-error {
    border: 1px solid var(--secondary-color) !important;
}
img {
    max-width: 100%;
    height: 100%;
}
button {
    padding: 0;
    border: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    margin: 0;
}
svg {
    height: 16px;
    width: 16px;
}
.cursor {
    cursor: pointer;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.container {
    max-width: 1400px;
}


/*==== COMMON CSS END ====  */


.school_dashboard_flex {
    display: grid;
    grid-template-columns: 20% 80%;
}

.navbar-brand img {
    height: 44px;
}

.form_box {
    background: #fff;
    padding: 29px;
    border: 1px solid #ddd;
}

.sidebar {
  background-color: #004080;
  color: #fff;
  width: 220px;
  padding: 20px;
  flex-shrink: 0;
}
.sidebar h2 {
  margin-bottom: 20px;
}
.sidebar nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 4px;
}
.sidebar nav a:hover {
  background-color: #0066cc;
}

.main-content {
  flex: 1;
  padding: 20px;
}
.top-bar {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.top-bar h1 {
  font-size: 1.5em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card h3 {
  margin-bottom: 10px;
  color: #004080;
}
.card p {
  font-size: 1.2em;
  font-weight: bold;
}

.student-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.student-info {
    flex: 1;
}

.attendance-buttons {
    display: flex;
    gap: 8px;
}

.btn-present, .btn-absent {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-present {
    background-color: #4caf50;
    color: #fff;
}

.btn-absent {
    background-color: #f44336;
    color: #fff;
}

.btn-selected {
    border: 2px solid #000;
}

