/* styles.css */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header styles */

header {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

header nav a {
    color: #fff;
    /* Makes the nav links white */
    text-decoration: none;
    /* Removes the underline */
    margin: 0 15px;
    /* Adds spacing between links */
}

header nav a:hover {
    text-decoration: underline;
    /* Adds underline on hover */
}

/* Main content styles */

main {
    padding: 1rem;
}

h1 {
    margin: 0;
}

.messages {
    margin-bottom: 1rem;
}

.titles {
    margin-bottom: 2rem;
}

.titles ul {
    list-style: none;
    padding: 0;
}

.titles li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.title-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.title-link:hover {
    text-decoration: underline;
}

.created-at {
    color: #666;
}

.strava-login {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    padding: 1rem;
}

.strava-buttons-container {
    display: flex;
    justify-content: space-around;
    /* Optional: Adjusts space between buttons */
    align-items: center;
}


.affiliation-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    bottom: 0;
    width: 100%;
}


/* FAQ Styles */
.faq {
    margin-bottom: 2rem;
    /* Add some bottom margin */
}

.faq details {
    margin-bottom: 1rem;
    /* Space between FAQ items */
    border: 1px solid #ddd;
    /* Light border */
    border-radius: 0.25rem;
    /* Rounded corners */
    padding: 1rem;
    /* Padding inside the FAQ item */
    background-color: #fff;
    /* White background */
}

.faq summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
    /* Remove focus outline */
}

.faq summary::marker {
    /* Remove the default disclosure arrow */
    display: none;
}

.faq summary::-webkit-details-marker {
    /* For WebKit browsers */
    display: none;
}

.faq p {
    /* Paragraph styles within FAQ item */
    margin-top: 0.5rem;
    /* Add some top margin */
}

.faq a {
    /* Link styles within FAQ item */
    color: #007bff;
    /* Example blue link color */
    text-decoration: none;
}

.faq a:hover {
    text-decoration: underline;
}

.btn-delete {
    /* background-color: #e74c3c; */
    /* color: #fff; */
    /* border: none; */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.btn-delete:hover {
    background-color: #c0392b;
}

.btn-back {
    display: inline-block;
    margin-top: 1rem;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
}

.btn-back:hover {
    color: #0056b3;
    text-decoration: underline;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.pagination-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-link:hover {
    background-color: #007bff;
    color: #fff;
}

.page-info {
    font-weight: bold;
    color: #333;
}