@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    margin: 0;
    background: rgb(14, 17, 23);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.left, .center, .right, .footer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left {
    grid-area: 1 / 1 / 5 / 2;
}

.center {
    grid-area: 1 / 2 / 5 / 3;
}

.right {
    grid-area: 1 / 3 / 5 / 4;
}

.footer {
    grid-area: 5 / 1 / 6 / 4;
}

.container {
    width: 330px;
    background: rgb(24, 28, 36);
    padding: 20px 30px;
    border-radius: 16px;
    color: white;
}

.logo span {
    color: white;
    font-weight: 1000;
}
.logo {
    font-size: 28px;
    font-weight: 1100;
}
.logo span {
    color: rgb(0, 200, 0); 
}

.title {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 22px;
}

.subtitle {
    text-align: center;
    margin-top: 5px;
    color: rgb(180, 180, 180);
    font-size: 13px;
    margin-bottom: 25px;
}

label {
    display: block;
    text-align: left;
    font-size: 12px;
    margin-bottom: 6px;
    color: rgb(190, 190, 190);
}

input {
    width: 90%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgb(40, 45, 55);
    color: white;
    margin-bottom: 15px;
    font-size: 14px;
}

.input-group {
    position: relative;
}

.eye {
    position: absolute;
    right: 12px;
    top: 12px;
    color: rgb(150, 150, 150);
    cursor: pointer;
    user-select: none;
}

.toggle {
    display: flex;
    background: rgb(230, 230, 230);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.option {
    flex: 1;
    padding: 8px 0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: black;
    background: transparent;
    transition: 0.2s;
}

.option.active {
    background: rgb(0, 200, 0);
    color: white;
}

.login-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-top: 10px;
    background: rgb(0, 200, 0);
    color: rgb(255, 255, 255);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.login-btn:hover {
    background: rgb(0, 220, 0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 0, 0.35);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 200, 0, 0.2);
}

.register {
    margin-top: 25px;
    color: rgb(170, 170, 170);
    font-size: 13px;
}

.register a {
    color: rgb(0, 200, 0);
    font-weight: 500;
    text-decoration: none;
}

.error {
    color: rgb(255, 90, 90);
    font-size: 12px;
    margin-top: -10px;
    height: 14px;
}

.error-border {
    border: 2px solid rgb(255, 80, 80) !important;
}

input:focus {
outline: 2px solid rgb(0, 200, 0);
outline-offset: 1px;
}