﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f2f2f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    width: 1000px;
    height: 360px;
    border-radius: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    user-select: none;
    pointer-events: none;
}

.title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

input[type="email"], input[type="password"] {
    width: 420px;
    margin-left: auto;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d1d1d6;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 6px;
}

input:focus {
    border-color: #0070f3;
    box-shadow: 0 0 0 3px rgba(0,112,243,0.2);
    outline: none;
}

.error {
    color: #ff3b30;
    font-size: 14px;
    margin-top: 4px;
    text-align: right;
}

button {
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
    padding: 6px 14px;
    border: none;
    color: white;
    background-color: #0070f3;
}

    button:hover {
        opacity: 0.9;
    }

#next-btn, #login-btn {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 90px;
    height: 36px;
}

#register-btn, #back-btn {
    position: absolute;
    bottom: 20px;
    right: 160px;
    background-color: #fff;
    color: #0070f3;
    border: 2px solid #0070f3;
}

    #register-btn:hover, #back-btn:hover {
        background-color: #e6f0ff;
    }

#reset-btn {
    position: absolute;
    bottom: 20px;
    right: 260px;
    background-color: #ff3b30;
    border: 2px solid #ff3b30;
    padding: 6px 12px;
    font-size: 13px;
}

    #reset-btn:hover {
        background-color: #ffe6e6;
        color: #ff3b30;
    }

.reset-link {
    width: 420px;
    margin-left: auto;
    margin-top: 2px;
    font-size: 13px;
    color: #0070f3;
    text-decoration: none;
    text-align: right;
    cursor: pointer;
}

    .reset-link:hover {
        text-decoration: underline;
    }
