/* ==============================
   Global Styles
============================== */
:root {
    --primary-blue: #1e90ff;   /* Dodger Blue */
    --dark-blue: #0d47a1;      /* Dark Blue */
    --light-blue: #e3f2fd;     /* Light Blue Background */
    --secondary-blue: #1565c0; /* Medium Blue */
    --danger-red: #e53935;
    --success-green: #43a047;
    --warning-orange: #fb8c00;
    --neutral-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --radius: 6px;
    --shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    background: var(--light-blue);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==============================
   Navigation Menu
============================== */
.navbar {
    background: var(--dark-blue);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background 0.3s;
}

.navbar a:hover {
    background: var(--secondary-blue);
}

.navbar ul li ul {
    position: absolute;
    top: 40px;
    left: 0;
    background: var(--dark-blue);
    padding: 10px 0;
    display: none;
    flex-direction: column;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.navbar ul li:hover ul {
    display: flex;
}

/* ==============================
   Buttons
============================== */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    box-shadow: var(--shadow);
    color: var(--text-light);
}

.btn-save { background: var(--primary-blue); }
.btn-update { background: var(--secondary-blue); }
.btn-approve { background: var(--success-green); }
.btn-decline { background: var(--danger-red); }
.btn-delete { background: var(--danger-red); }
.btn-cancel { background: var(--neutral-gray); color: var(--text-dark); }
.btn-reschedule { background: var(--warning-orange); }

.btn:hover {
    opacity: 0.9;
}

/* ==============================
   Modal (General)
============================== */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 400px;
    max-width: 90%;
    animation: fadeIn 0.3s ease;
}

.modal-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.modal-actions {
    text-align: right;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ==============================
   Table
============================== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: var(--shadow);
}

.table th, .table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background: var(--secondary-blue);
    color: var(--text-light);
}

/* ==============================
   Calendar
============================== */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background: white;
    padding: 10px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.calendar .day {
    padding: 15px;
    text-align: center;
    background: var(--light-blue);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.3s;
}

.calendar .day:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

/* ==============================
   Forms (Login & Signup)
============================== */
.form-container {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: auto;
}

.form-container h2 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.form-container input, 
.form-container select, 
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: var(--radius);
}

/* ==============================
   Cards
============================== */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 15px 0;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ==============================
   Divisions (Reusable Containers)
============================== */
.section {
    padding: 30px;
    background: var(--light-blue);
    margin-bottom: 20px;
    border-radius: var(--radius);
}

/* Right section login card */
.login-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  text-align: center;
}

.logo-holder {
  margin-bottom: 15px;
}
.logo-holder img {
  width: 80px;
  height: auto;
}

/* Signup Modal */
.form-modal {
  max-width: 400px;
  width: 100%;
}
.form-modal form {
  display: flex;
  flex-direction: column;
}
.form-modal input {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

