@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin:wght@400;700&display=swap');

/* LAYOUT.HTML -> BAR */

.top-bar {
    background-color: #198754 !important;
    color: white;
    padding: 5px 10px; /* Padding inside the bar */
    position: fixed; /* Fixed at the top */
    top: 0;
    left: 0;
    width: 100%; /* Full width of the page */
    z-index: 1000; /* Ensure it stays above other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    width: 100%;
}

.navbar-brand {
    font-family: 'Benton Sans';
    color: white;
    font-size: xx-large;
    text-align: center;
}

.layout-navbar-logout {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    line-height: 1; 
    text-decoration: none;
}

.btn-logout:hover {
    background-color: black;
    color: white;
}

/* LAYOUT.HTML -> CONTENT */

.content {
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    height: 100vh; /* Full viewport height */
    margin-top: 100px; /* Adjust to account for the fixed navbar height */
}


/* LAYOUT.HTML -> RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .content {
        text-align: center; /* Ensure text is centered on smaller screens */
    }
}

/* CLUB_SEARCH.HTML */
.club-search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.club-search-prompt {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.club-search-bar input {
    width: 300px;
    padding: 10px;
    font-size: 1rem;
    text-align: center;
}

.club-search-button {
    width: 60%; /* Ensure button takes full width of the container */
    padding: 10px; /* Consistent padding */
    margin-top: 20px;
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    background-color: #198754;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.club-search-button:hover {
    background-color: #155d27;
}

/* CLUB_SEARCH_RESULTS.HTML */

.club-search-results-container {
    text-align: center;
    padding: 10px;
}

.club-search-results-block {
    background-color: white;
    padding: 15px;
    border: solid;
    border-color: #198754;
    border-width: 1px;
    border-radius: 60px;
    margin-bottom: 20px;
}


.btn-search_start {
    background-color: #198754;
    color: white;
    padding: 5px 15px;             /* Adjust padding for smaller height */
    margin-left: 20px;
    border-radius: 30px;            /* Optional: add rounded corners */
    font-size: 14px;               /* Optional: adjust text size */
    border: none;
    line-height: 1;
}

.btn-search_start:hover {
    background-color: #155d27;
    color: white;
}

/* COURSE_SELECTION.HTML */

.course-selection-container {
    text-align: center;
    padding: 10px;
}

.course-selection-block {
    background-color: white;
    padding: 15px;
    border: solid;
    border-color: #198754;
    border-width: 1px;
    border-radius: 60px;
    margin-bottom: 20px;
}


.btn-course_select {
    background-color: #198754;
    color: white;
    padding: 5px 15px;             /* Adjust padding for smaller height */
    margin-left: 20px;
    border-radius: 30px;            /* Optional: add rounded corners */
    font-size: 14px;               /* Optional: adjust text size */
    border: none;
    line-height: 1;
}

.btn-course_select:hover {
    background-color: #155d27;
    color: white;
}

/* SCORECARD.HTML */

.scorecard-table {
    font-size: 12px;
}

.scorecard-table tr {
    height: 20px;
}

.scorecard-table th, .scorecard-table td {
    padding: 5px;
}

.scorecard-hole-column {
    width: 70px;
    background-color: #198754 !important;
    color: white !important;
    font-weight: bold;
}

.scorecard-hole-column a {
    color: inherit;
    text-decoration: none;
}

.scorecard-par-column{
    color: #36454F !important;
    width: 70px;
}

.scorecard-score-column {
    color: #36454F !important;
    width: 100px;
}

.scorecard-diff-score-column {
    color: #36454F !important;
    width: 100px;
}

.scorecard-total-row {
    font-weight: bold;
}

.scorecard-submit-button {
    width: 40%; /* Ensure button takes full width of the container */
    padding: 5px; /* Consistent padding */
    margin-top: 5px;
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    background-color: #198754;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.scorecard-submit-button:hover {
    background-color: #155d27;
    color: white;
}


/* SCORECARD_HOLE.HTML */

.scorecard-hole-container {
    text-align: center;
    margin-bottom: 20px;
}

.scorecard-hole-form {
    align-items: center;
}

.scorecard-hole-score-label {
    margin-bottom: 10px;
}

.scorecard-hole-input-container button {
    width: 50px;
    height: 35px;
    padding: 0;
    margin-top: 5px;
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    background-color: #D3D3D3;
    line-height: 1;
    border: none;
    border-radius: 50px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

.scorecard-hole-input-container button:focus {
    outline: none;
}


.scorecard-hole-submit-button {
    width: 35%; /* Ensure button takes full width of the container */
    padding: 5px; /* Consistent padding */
    margin-top: 30px;
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    background-color: #198754;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.scorecard-submit-button:hover {
    background-color: #155d27;
    color: white;
}

.scorecard-hole-back2scorecard-button {
    display: inline-block;
    width: 35%; /* Ensure button takes full width of the container */
    padding: 5px; /* Consistent padding */
    margin-top: 30px;
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    text-decoration: none;
    background-color: #198754;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.scorecard-hole-back2scorecard-button:hover {
    background-color: #155d27;
    color: white;
}


.scrc-hl-scorecard-button {
    margin-top: 50px;
    text-align: center;
}

.btn-scrc-hl-scorecard {
    background-color: gray;
    color: white;
    padding: 5px 15px;             /* Adjust padding for smaller height */
    border-radius: 5px;            /* Optional: add rounded corners */
    font-size: 14px;               /* Optional: adjust text size */
    border: none;
    line-height: 1;
    display: inline-block;
}

.btn-scrc-hl-scorecard:hover {
    background-color: black;
    color: white;
}


/* HOME.HTML */

.home-bg-color {
    background-color: #f9f9f9;
}


.home-play-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    padding: 10px;
    background-color: #198754;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: 'Benton Sans';
    font-size: 20px;
    border-radius: 50px;
    z-index: 1020;
}

.home-round-feed {
    text-align: left;
}

.home-round-block {
    background-color: white;
    padding: 15px;
    margin-bottom: 3px;
}

.timestamp {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.home-round-score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-round-score-column {
    flex: 1;
    text-align: center;
}

.home-round-score-heading {
    font-weight: bold;
    margin-bottom: 2px;
}

.home-round-score-value {
    font-size: 1em;
    margin-top: 2px;
}


/* LOGIN.HTML */

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    max-width: 576px;
    margin: 0 auto;
    padding: 20px;
    align-items: center; 
}

.login-form label {
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
}

.login-form input {
    width: 100%;
    padding: 1px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-form-button {
    width: 60%; /* Ensure button takes full width of the container */
    padding: 10px; /* Consistent padding */
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    background-color: #198754 !important;
    border: none !important;
    border-radius: 50px;
    cursor: pointer;
    box-sizing: border-box;
}

.login-form button:hover {
    background-color: #155d27;
}

/* REGISTER.HTML */

.register-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.register-form {
    display: flex;
    flex-direction: column;
    max-width: 576px;
    margin: 0 auto;
    padding: 5px;
    align-items: center; 
}

.register-form label {
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
}

.register-form input {
    width: 100%;
    padding: 1px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.register-form-button {
    width: 60%; /* Ensure button takes full width of the container */
    padding: 10px; /* Consistent padding */
    font-size: 16px; /* Adjust font size as needed */
    color: white;
    background-color: #198754 !important;
    border: none !important;
    border-radius: 50px;
    cursor: pointer;
    box-sizing: border-box;
}

.register-form button:hover {
    background-color: #155d27;
}