/* styles/style.css */

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

header {
    background-color: #004080;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1rem;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.error {
    background-color: #ffdddd;
    padding: 1rem;
    border: 1px solid #ff5c5c;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.success {
    background-color: #ddffdd;
    padding: 1rem;
    border: 1px solid #5cff5c;
    margin-bottom: 1rem;
    border-radius: 5px;
}

/* Center the main content */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}

/* Special styling for the thank you page */
.thank-you-container {
    padding: 2rem;
}

/* Form elements centered and nice */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    width: 100%;
    max-width: 400px;
    text-align: left;
    margin-bottom: 1rem;
}

form input[type="text"],
form input[type="email"],
form input[type="hidden"],
form button {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

form button {
    margin-top: 1.5rem;
    padding: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #0066cc;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.2rem;
    }
    
    nav a {
        font-size: 0.9rem;
        margin-left: 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    form label, 
    form input[type="text"],
    form input[type="email"],
    form input[type="hidden"],
    form button {
        max-width: 90%;
    }
}

.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 20px;
    border-left: 2px solid #ccc;
}
.timeline-item {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden; /* prevents any overflow weirdness */
}
.button-bar {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 0;
    width: 15px;
    height: 15px;
    background-color: #4caf50;
    border-radius: 50%;
    border: 2px solid white;
}
.timeline-item time {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}
.timeline-item strong {
    font-weight: bold;
}
.timeline-item p {
    margin: 0;
}
#note-form {
    display: none;
    margin-top: 10px;
}
.note {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

#supportChart {
    max-width: 300px;
    max-height: 300px;
    margin: 0 auto;
    display: block;
}

.quote-box {
    background-color: #f0f8ff;
    border-left: 4px solid #0078d7;
    padding: 10px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #333;
    font-size: 16px;
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    background-color: #0078d7;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005fa3;
}

.closing-slogan {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 50px;
}

.request-card {
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-left: 6px solid #007BFF;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.request-card h2 {
    margin-top: 0;
}

.request-details p {
    margin: 0.5em 0;
    line-height: 1.4;
}