/* volunteer.css */
@import url('./base.css');
* {
  font-family: 'Poppins', sans-serif !important;
}

body {
    /* font-family: 'Playfair Display', serif; */
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    display: flex;
  flex-direction: column;
  min-height: 100vh;  /* full viewport height */
  margin: 0; 
}
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    padding-bottom: 4rem;
    flex: 1;
  display: flex;
  flex-direction: column;
}

.tagline {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.9;
}
.volunteer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.volunteer-title {
    margin: 0;
    color: #2c3e50;
}
.filter-container {
    display: flex;
    gap: 15px;
    align-items: center;
}
select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.event-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0; /* Remove padding to allow header to go edge-to-edge */
    margin-bottom: 25px;
    max-width: 100%;
    overflow: hidden; /* Ensures rounded corners work properly */
}

.event-header {
    height: 160px;
    overflow: hidden;
    border-radius: 0; /* Remove border radius since card handles it */
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
    border: none; /* Remove border */
}

.event-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content area with padding */
.event-content {
    padding: 20px;
}

/* Title and status in a flex header */
.event-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.event-title {
    margin: 0;
    color: #405735;
    font-size: 1.5rem;
    flex: 1;
}

.event-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 15px;
    white-space: nowrap;
}
.status-pending {
    background-color: #f39c12;
    color: white;
}
.status-approved {
    background-color: #2ecc71;
    color: white;
}
.status-denied {
    background-color: #e74c3c;
    color: white;
}
.event-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.event-details h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #7f8c8d;
    font-size: 1rem;
}
.event-details p {
    margin: 0 0 15px;
}
.teams-section {
    margin-top: 20px;
}
.team-item {
    background-color: #f5f7fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
}
.team-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.team-header h4 {
    margin: 0;
    color: #34495e;
}
.team-size {
    background-color: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}
.btn {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.btn-approve {
    background-color: #2ecc71;
    color: white;
}
.btn-approve:hover {
    background-color: #27ae60;
}
.btn-deny {
    background-color: #e74c3c;
    color: white;
}
.btn-deny:hover {
    background-color: #c0392b;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.page-btn {
    background-color: white;
    border: 1px solid #ddd;
    padding: 8px 14px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
}
.page-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.empty-state, .practice-state {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px;
}
.empty-state, .practice-state p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.signup-btn {
    background-color: #6B7B5A;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.signup-btn:hover {
    background-color: #2d3d25;
}
.details-btn {
    background-color: #6B7B5A;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.details-btn:hover {
    background-color: #2d3d25;
}
.button-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.button-container a {
    text-decoration: none;
}