:root {
    --bg-color: #f4f7f9;
    --card-bg-color: #ffffff;
    --primary-color: #3498db;
    --text-color-dark: #2c3e50;
    --text-color-light: #7f8c8d;
    --border-color: #e1e5e8;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --shadow: 0 4px 6px rgba(44, 62, 80, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color-dark);
    display: flex;
    justify-content: center;
    padding: 30px 15px;
    min-height: 100vh;
}

.main-container {
    width: 100%;
    max-width: 550px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}
.logo {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    margin-bottom: 15px;
    stroke: var(--primary-color); /* For SVG lines */
}
h1 {
    font-size: 1.75rem;
    font-weight: 600;
}
h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.widget-card {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color-light);
}

input[type="text"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 15px;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.button-primary {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
}
.button-primary:hover {
    background-color: #2980b9;
}

.fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.fab:hover {
    transform: scale(1.05);
}

.admin-panel summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    list-style-position: inside;
}
.details-content {
    margin-top: 20px;
}
.admin-buttons {
    display: flex;
    gap: 10px;
}
.admin-buttons button {
    flex-grow: 1;
}
.button-approve {
    background-color: var(--success-color);
    color: white;
}
.button-decline {
    background-color: var(--error-color);
    color: white;
}

.status {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
.status.success {
    display: block;
    color: #27ae60;
    background-color: #eaf8f1;
}
.status.error {
    display: block;
    color: #c0392b;
    background-color: #fbecec;
}

.hidden { display: none !important; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 25, 47, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    width: 90%;
    max-width: 500px;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color-light);
}

/* Highlight animation from before */
.highlight {
    animation: highlight-animation 2s ease-out;
}
@keyframes highlight-animation {
    from { background-color: rgba(52, 152, 219, 0.2); }
    to { background-color: var(--card-bg-color); }
}
/* Add these to the bottom of your style.css */

.modal-hr {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

#modal-body p {
    margin-bottom: 10px;
    font-size: 1rem;
}

#modal-body p strong {
    color: var(--text-color-light);
    font-weight: 500;
    margin-right: 8px;
}

.description-label {
    margin-top: 15px;
}

.description-text {
    white-space: pre-wrap; /* Respects line breaks in the description */
    background-color: var(--bg-color);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Badge styles for status */
.badge {
    padding: 4px 10px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    vertical-align: middle;
}
.badge.active { background-color: #f0ad4e; }
.badge.accepted { background-color: var(--success-color); }
.badge.declined { background-color: var(--error-color); }