body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #000;
    color: #fff;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
h1 {
    text-align: center;
    color: #C0C0C0;
    /*font-style: italic;*/
    min-height: 1.2em;
    margin-top: 0px;
    margin-bottom: 5px;
}
.typing-animation {
    display: inline-block;
    overflow: hidden;
    border-right: .15em solid #C0C0C0;
    white-space: nowrap;
    margin: 0 auto;
}
.typing-animation.finished {
    border-right: none;
}
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.icon-item {
    text-align: center;
}
.icon-item i {
    font-size: 2em;
    color: #1df246;
    text-shadow: 0 0 5px #1df246, 0 0 10px #1df246, 0 0 15px #1df246;
    transition: all 0.3s ease;
}
.icon-item:hover i {
    color: #16c238;
    text-shadow: 0 0 10px #16c238, 0 0 20px #16c238, 0 0 30px #16c238;
}
.icon-item p {
    margin-top: 5px;
    font-size: 0.9em;
}
.login-options {
    margin-top: 25px;
}
.social-login {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.social-btn {
    flex: 1;
    padding: 10px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}
.google-btn { background-color: #DB4437; }
.twitter-btn { background-color: #1DA1F2; }
.facebook-btn { background-color: #4267B2; }
.apple-btn { background-color: #535353; }
.local-login {
    max-width: 400px;
    margin: 0 auto;
}
.local-login input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #44D62C; /* Changed to #44D62C */
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    margin: 0 auto 10px;
    display: block;
}
.local-login button {
    width: 100%;
    padding: 10px;
    background-color: #3471eb;
    color: #fff;
    border: none;
    cursor: pointer;
}
.signup-row, .login-row {
    display: flex;
    justify-content: space-between;
}
.login-row input {
    width: calc(50% - 30px);
    max-width: none;
}
.signup-column {
    width: 48%;
}

.signup-column input {
    width: calc(100% - 22px);
}

#signup-text, #login-text {
    text-align: center;
    margin-top: 10px;
}

#signup-text span, #login-text span {
    color: #3471eb;
    cursor: pointer;
}
#signup-form .local-login input {
    width: calc(100% - 22px);
    margin-bottom: 10px;
}
.search-container {
    margin-top: 10px;
    text-align: center;
}
.search-input {
    width: 100%;
    max-width: 300px; /* Added max-width */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #44D62C; /* Changed to #44D62C */
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    margin: 0 auto; /* Center the input */
    display: block; /* Ensure it takes full width up to max-width */
}
.search-options {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex; /* Added flex display */
    justify-content: center; /* Center the options */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.search-option {
    margin: 5px 10px; /* Added vertical margin */
    cursor: pointer;
    color: aliceblue;
}
.search-option.active {
    text-decoration: underline;
}

div#players-results, div#teams-results, div#takes-results, div#users-results {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid grey;
    scrollbar-color: white black;
}

div#players-results div, div#teams-results div, div#takes-results div, div#users-results div {
    padding-top: 5px;
    padding-bottom: 5px;
}

div#players-results div:hover, div#teams-results div:hover, div#takes-results div:hover, div#users-results div:hover {
    background-color: #34c3eb;
    cursor: pointer;
}

input:focus {
    outline: none;
}

div#invalid-login, div#user-taken {
    margin-top: -10px;
    color: red;
    font-size: 14px;
    text-align: center;
    display: none;
}


.icon-item i:hover {
    cursor: pointer;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.validation-icon {
    position: absolute;
    right: 10px;
    top: 25%;
    font-size: 18px;
    pointer-events: none; /* Ensures the icon doesn't interfere with input */
}

.validation-icon.invalid {
    color: red;
}

.validation-icon.valid {
    color: #44D62C;
}


.password-requirements {
    margin-top: 10px;
    font-size: 0.9em;
    color: aliceblue;
}

#password-requirements {
    width: 50%;
    margin: 0 auto;
}

.password-requirements h4 {
    /*margin-bottom: 5px;*/
    margin-bottom: -10px;
}

.password-requirements ul {
    list-style-type: none;
    padding-left: 0;
}

.password-requirements li {
    margin-bottom: 3px;
}

.password-requirements li.met {
    color: #44D62C;
}

.password-requirements li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00d";  /* fa-times */
    font-weight: 900;
    margin-right: 5px;
    color: red;
}

.password-requirements li.met::before {
    content: "\f00c";  /* fa-check */
    color: #44D62C;
}