/* Basic page settings */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #222;
}


/* Navigation */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    background-color: white;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
}


/* Hero */

.hero {
    text-align: center;

    padding: 100px 20px;

    background-color: white;
}

.hero h1 {
    font-size: 55px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;

    max-width: 650px;

    margin: 0 auto 30px;

    line-height: 1.6;
}

button {
    padding: 15px 25px;

    font-size: 16px;
    font-weight: bold;

    border: none;
    border-radius: 8px;

    cursor: pointer;

    background-color: #222;
    color: white;
}


/* Services */

.services {
    padding: 80px 8%;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}

.service-card {
    background-color: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 4px 10px
        rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 22px;
}


/* How it works */

.how-it-works {
    padding: 80px 8%;

    text-align: center;

    background-color: white;
}

.how-it-works h2 {
    font-size: 36px;
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 30px;

    margin-top: 50px;
}

.steps h3 {
    font-size: 30px;
}


/* Teams */

.team-section {
    text-align: center;

    padding: 90px 20px;
}

.team-section h2 {
    font-size: 36px;
}

.team-section p {
    font-size: 18px;

    margin-bottom: 30px;
}
/* Service Search Page */

.service-search {
    max-width: 1100px;
    margin: auto;
    padding: 80px 8%;
    text-align: center;
}

.service-search h1 {
    font-size: 46px;
    margin-bottom: 15px;
}

.service-search > p {
    font-size: 18px;
    margin-bottom: 50px;
}

.service-option {
    background-color: white;
    color: #222;

    min-height: 160px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 15px;

    font-size: 40px;

    border-radius: 12px;

    box-shadow: 0 4px 10px
        rgba(0, 0, 0, 0.08);
}

.service-option span {
    font-size: 20px;
    font-weight: bold;
}

.service-option:hover {
    transform: translateY(-4px);
}

.logo a {
    text-decoration: none;
    color: #222;
}
/* Team Search Page */

.team-search {
    max-width: 900px;
    margin: auto;
    padding: 70px 20px;
}

.team-search h1 {
    font-size: 46px;
    margin-bottom: 10px;
}

.back-link a {
    color: #555;
    text-decoration: none;
}

.zip-search {
    display: flex;
    gap: 10px;

    margin-top: 35px;
    margin-bottom: 50px;
}

.zip-search input {
    flex: 1;

    padding: 15px;

    font-size: 17px;

    border: 1px solid #ccc;
    border-radius: 8px;
}

.team-results h2 {
    margin-bottom: 25px;
}

.team-card {
    background-color: white;

    padding: 25px;

    margin-bottom: 20px;

    border-radius: 12px;

    box-shadow: 0 4px 10px
        rgba(0, 0, 0, 0.08);

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.team-card h3 {
    font-size: 23px;
    margin-top: 0;
}
/* Team Profile */

.team-profile {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px 100px;
}

.profile-header {
    background-color: white;
    padding: 40px;
    border-radius: 14px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.profile-header h1 {
    font-size: 42px;
    margin: 5px 0 10px;
}

.team-type {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #666;
}

.fundraising-section,
.profile-section,
.request-section {
    background-color: white;
    padding: 35px;
    border-radius: 14px;
    margin-bottom: 25px;
}

.fundraising-numbers {
    display: flex;
    gap: 60px;
    margin: 25px 0;
}

.fundraising-numbers div {
    display: flex;
    flex-direction: column;
}

.fundraising-numbers strong {
    font-size: 28px;
}

.fundraising-numbers span {
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 14px;
    background-color: #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    width: 49%;
    height: 100%;
    background-color: #222;
}

.profile-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-services span {
    background-color: #f2f2f2;
    padding: 12px 16px;
    border-radius: 8px;
}

.request-section {
    text-align: center;
}
/* Job Request Page */

.request-page {
    max-width: 750px;
    margin: auto;
    padding: 60px 20px 100px;
}

.request-header {
    margin: 25px 0 35px;
}

.request-header h1 {
    font-size: 42px;
    margin: 5px 0 10px;
}

.request-summary {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;

    padding: 15px 0;

    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
}

.job-form {
    background-color: white;

    padding: 35px;

    border-radius: 14px;
}

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

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px;

    font-size: 16px;

    border: 1px solid #ccc;
    border-radius: 8px;

    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-request {
    width: 100%;

    margin-top: 10px;

    padding: 16px;
}

/* Team Dashboard */

.dashboard-page {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px 100px;
}

.dashboard-page h1 {
    font-size: 42px;
}

.job-card {
    background-color: white;

    padding: 30px;

    margin-bottom: 20px;

    border-radius: 14px;

    box-shadow: 0 4px 10px
        rgba(0, 0, 0, 0.08);
}

.job-card h3 {
    margin-top: 0;
    font-size: 24px;
}

.job-actions {
    display: flex;
    gap: 12px;

    margin-top: 20px;
}

.dashboard-section {
    margin-top: 45px;
}

.dashboard-section h2 {
    margin-bottom: 20px;
}

.job-card p {
    line-height: 1.5;
}

/* Team Registration */

.register-page {
    max-width: 750px;
    margin: auto;
    padding: 60px 20px 100px;
}

.register-header {
    margin-bottom: 35px;
}

.register-header h1 {
    font-size: 42px;
    margin: 5px 0 10px;
}

.service-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 12px;
}

.service-checkboxes label {
    background-color: #f5f5f5;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
}

.service-checkboxes input {
    width: auto;
    margin-right: 8px;
}

/* Authentication */

.auth-page {
    max-width: 520px;
    margin: auto;
    padding: 80px 20px;
}

.auth-card {
    background-color: white;
    padding: 40px;
    border-radius: 14px;

    box-shadow: 0 4px 10px
        rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
    font-size: 38px;
    margin: 5px 0 10px;
}

.text-button {
    width: 100%;
    margin-top: 15px;

    background: none;
    color: #333;

    text-decoration: underline;
}

#authMessage {
    margin-top: 20px;
    line-height: 1.5;
}
/* Team Availability */

.availability-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.availability-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 12px;
    align-items: center;

    background-color: #f5f5f5;
    padding: 14px;
    border-radius: 8px;
}

.availability-row label {
    margin: 0;
}

.availability-row input[type="time"] {
    width: 100%;
}
.availability-row label {
    color: black;
}
.profile-service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.profile-service-row:last-child {
    border-bottom: none;
}