﻿@charset "utf-8";

.login-box {
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 15px;
    padding: 20px;
    width: 320px;
    margin: 20px auto;
}

.username-box {
    margin-bottom: 20px;
}

.input-text {
    margin-left:2px;
    font-size: 20px;
    margin-bottom: 10px;
}

.username-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 8px; /* Rounded edges */
    outline: none; /* Removes default focus outline */
}

.password-box {
    margin-bottom: 20px;
}

/* New wrapper so the icon can sit on top of the input */
.password-wrapper {
    position: relative;
    width: 100%;
}

/* Just add padding-right so text doesn't go under the icon */
.password-input {
    width: 100%;
    padding: 10px;
    padding-right: 40px; /* space for the eye icon */
    font-size: 16px;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 8px;
    outline: none;
}

/* The eye icon */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.login-button {
    background-color: rgba(44, 44, 44, 1);
    width: 100%;
    height: 40px;
    border: none; /* Remove default border */
    color: white; /* White text */
    padding: 10px 20px; /* Add padding */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Inline-block layout */
    font-size: 16px; /* Font size */
    border-radius: 8px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth hover effect */
    margin-top:20px;
}

.login-button:hover {
    background-color: #5f5f5f; /* Darker green on hover */
}

.login-button:active {
    background-color: #3e8e41; /* Even darker green when pressed */
}

.forgot-password-link {
    font-size: 20px;
    margin-top: 25px;
    text-decoration: underline;
}

.forgot-password-link:hover {
    color: purple;
}

/* EULA */

.eula-container {
    display: grid;
    grid-template-columns: 80% 20%;
    padding: 10px;
}

.eula-toggle-container {
    margin-top: 20px;
}

.eula-text-container {

}

.eula-text-1 {

}

.eula-text-2 {
    color: rgba(117, 117, 117, 1);

}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The track */
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s;
}

/* The circular slider */
.slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

/* Toggled state */
.toggle-switch input:checked + .slider {
    background-color: rgba(44, 44, 44, 1);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(23px);
}