:root {
    --primary-color: #67A950;
    --primary-hover: #558c42;
    --text-color: #111111;
    --bg-color: #f9fbf9;
    --white: #ffffff;
    --gray-light: #e0e0e0;
    --red-notify: #e53e3e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

/* --- Notification Bell --- */
.notification-bell {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.bell-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--red-notify);
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(229, 62, 62, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

/* --- Buttons --- */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
}

.btn-primary { background-color: var(--primary-color); color: var(--white) !important; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { border-color: var(--primary-color); color: var(--primary-color) !important; background-color: transparent; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white) !important; }

/* --- Dashboard --- */
.dashboard-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.list-item {
    border: 1px solid var(--gray-light);
    padding: 1.2rem;
    border-radius: 6px;
    margin-top: 1rem;
    background: #fafafa;
}

.status-badge {
    background: #e0e0e0; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.8rem; font-weight: bold;
}
.status-badge.accepted, .status-badge.assigned { background: #d4eed0; color: #2d5a27; }
.status-badge.rejected { background: #fde8e8; color: #9b1c1c; }

/* --- Settings Form --- */
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc; transition: .4s; border-radius: 24px;
}
.slider:before {
  position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--primary-color); }
input:checked + .slider:before { transform: translateX(26px); }

/* --- Hero & Forms --- */
.hero { text-align: center; padding: 5rem 0; flex-grow: 1; }
.form-container { background: var(--white); padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); max-width: 500px; margin: 3rem auto; flex-grow: 1; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 0.8rem; border: 1px solid var(--gray-light); border-radius: 4px; }

footer { background-color: var(--white); border-top: 1px solid var(--gray-light); padding: 2rem 0; margin-top: auto; }
.footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--text-color); margin-left: 1rem; font-size: 0.9rem; }