.toast {
    position: fixed;
    top: 128px;
    right: 60px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--coral);
    padding: 14px 20px;
    border-radius: 10px;
    color: var(--text);
    font-size: .95rem;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: all .35s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.form-container {
    max-width: 1000px;
    width: 40%;
    margin: 80px auto;
}

.form-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.form-container h1 span {
    color: coral;
}

.form-div {
    background-color: #1a1a1a;
    padding: 60px;
    border-radius: 15px;
    border: 2px solid coral;
}

label {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff70;
}

sup {
    color: coral;
}

.input-group {
    margin-bottom: 30px;
}

.input {
    margin-top: 8px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 5px;
    padding: 0 20px;
    position: relative;
    border: 1px solid #ffffff70;
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.input input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    color: #ffffff89;
    font-size: 16px;
    font-family: inherit;
}

.input select {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    color: #ffffff89;
    font-size: 16px;
    font-family: inherit;
}

.input select:focus {
    outline: none;
}

.input select option {
    background-color: coral;
    color: white;
}

.input input:focus {
    outline: none;
}

.input:focus-within {
    border-color: coral;
    box-shadow: 2px 2px 5px rgba(255, 99, 71, 0.1);
}

.input i {
    color: #ffffff70;
    font-size: 20px;
    transition: color 0.5s ease;
}

.input:focus-within i {
    color: coral;
}

.password-group {
    margin-bottom: 10px;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-bottom: 20px;
    color: #ffffff70;
    transition: color 0.6s ease;
}

.forgot-password:hover {
    color: coral;
}

.remember-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.remember-group input {
    width: 18px;
    height: 18px;
    accent-color: rgb(255, 93, 34);
}

.form-btn {
    width: 100%;
    padding: 15px;
    background-color: rgb(255, 106, 51);
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-btn:hover {
    background-color: rgb(255, 93, 34);
}

.signup-btn {
    margin-top: 50px;
}

.signup-login-link {
    text-align: center;
    margin-top: 20px;
    color: #ffffff70;
}

.signup-login-link a {
    color: coral;
    transition: color 0.6s ease;
}

@media (max-width: 1024px) {
    .form-container {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .form-container {
        width: 90%;
        margin: 50px auto;
    }

    .form-div {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .form-div {
        padding: 30px;
    }

    .input {
        padding: 0 15px;
    }
}

.error-container {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 40px;
}

.error-container .server-error {
    margin-top: 0;
}

.error-container .close-error {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-input {
    border-color: #ff4d4d;
    box-shadow: 2px 2px 5px rgba(255, 77, 77, 0.1);
}

.error-input:focus-within {
    border-color: #ff4d4d;
    box-shadow: 2px 2px 5px rgba(255, 77, 77, 0.1);
}

.error-input i {
    color: #ff4d4d;
}

.error-input:focus-within i {
    color: #ff4d4d;
}

.error-message {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    color: #ff4d4d;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}