@charset "utf-8";

/* General Form Styling */
.form-container, #registerForm, #resetPasswordForm {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group-horizontal, .form-group-vertical {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 10px;
    position: relative;
}
.form-group-horizontal {
    justify-content: flex-start;
    align-items: center;
}
.form-group-vertical {
    flex-direction: column;
    align-items: center;
}

.label-horizontal, .label-vertical, label[for="password"] {
    font-size: 1em;
    font-weight: bold;
}
.label-horizontal {
    width: 150px;
    margin-right: 10px;
    text-align: right;
}
.label-vertical, label[for="password"] {
    margin-bottom: 5px;
    align-self: flex-start;
    max-width: 400px;
    }
label[for="password"] {
    margin-right: 10px;
    padding-top: 20px;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"],
input[type="date"], input[type="datetime-local"], textarea, select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 10px auto;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}
input[readonly] {
    background-color: #f0f0f0;
}

.form-btn, .reset-btn, .calendar-btn{
    display: inline-block;
    text-align: center;
    padding: 10px 15px;
    background-color: #09cfff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px auto;
    width: 100%;
    max-width: 200px;
    line-height: 1.5em;
    text-decoration: none;
    box-sizing: border-box;
}
.form-btn:hover, .calendar-btn:hover {
    background-color: #004080;
}
.reset-btn {
    background-color: #f44336;
}
.reset-btn:hover {
    background-color: #d32f2f;
}

.form-btn a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 200px;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.form-group-checkbox label {
    flex-basis: 150px;
    text-align: right;
    margin-right: 10px;
}
.form-group-checkbox input[type="checkbox"] {
    transform: scale(1.8);
    margin-left: 30px;
}

/* Hidden Element */
#clubRegionField { display: none; }

/* Forgot Password Link */
.forgot-password-link {
    display: inline-block;
    margin-top: -10px;
    margin-left: 15px;
    font-size: 0.9em;
    color: #09cfff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.forgot-password-link:hover {
    color: #004080;
    text-decoration: underline;
}

/* Password Strength and Validation */
.password-container, .progress-bar {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}
.progress-bar {
    height: 6px;
    margin: -5px 0 5px;
    background-color: #f0f0f0;
}
#progress-bar-inner {
    height: 100%;
    width: 0%;
    background-color: red;
}
#password-strength-text {
    font-size: 0.9em;
    margin-top: 5px;
}
.validation-item {
    font-size: 0.7em;
    color: red;
}
.validation-item.valid {
    color: green;
}
.validation-item::before {
    content: '✖';
    color: red;
    font-weight: bold;
    padding-right: 10px;
}
.validation-item.valid::before {
    content: '✔';
    color: green;
    padding-right: 10px;
}
ul {
    padding-inline-start: 30px;
    margin: 0;
}

/* Track List and Dropdown */
#trackList, .reason-dropdown {
   max-height: 150px;
    overflow-y: auto;
    background-color: white;
    display: block; /* Ensure the dropdown is visible */
    width: 100%;
    max-width: 390px;
    margin: 0 auto; /* Center vertically and horizontally */
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 1em;
    box-sizing: border-box;
    cursor: pointer;
}
#trackList div, .reason-dropdown option {
    padding: 10px;
    cursor: pointer;
}
#trackList div:hover, .reason-dropdown option:hover {
    background-color: #004080;
    color: white;
    border-radius: 10px;
}

/* Map Styling */
.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 600px;
    background: #f0f0f0;
}
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Centered Checkbox */
.centered-checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-weight: bold;
}

/* Media Queries */
@media (max-width: 650px) {
    .label-horizontal, label[for="password"] {
        width: 100%;
        text-align: left;
    }
    .form-group-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Password Progress Bar Color Change */
#progress-bar-inner[data-strength="weak"] { background-color: red; }
#progress-bar-inner[data-strength="medium"] { background-color: orange; }
#progress-bar-inner[data-strength="strong"] { background-color: green; }
#password-strength-text[data-strength="weak"] { color: red; }
#password-strength-text[data-strength="medium"] { color: orange; }
#password-strength-text[data-strength="strong"] { color: green; }

/* Series Suggestions */
  .suggestions-box {
    max-height: 150px;
    overflow-y: auto;
    background-color: white;
    display: none;
    width: 100%;
    max-width: 390px;
    margin: -10px auto -10px;
    border-radius: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 1em;
    box-sizing: border-box;
}
.suggestions-box div {
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    
}
.suggestions-box div:hover {
    background-color: #004080;
    color: white;
}
.new-series-msg {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px;
    border: 1px solid #ccc;
    cursor: default;
}
