body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #0d1b2a;
    font-family: 'Segoe UI';
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://logincdn.msftauth.net/shared/5/images/fluent_web_dark_2_bf5f23287bc9f60c9be2.svg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.login-box {
    background-color: #292929;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 325px;
    min-height: 25px;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    line-height: 24px;
    margin-right: 10px;
    display: inline-block;
}

.logo {
    width: 24px;
    height: auto;
    margin-right: 8px;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 8px 0;
}

.subtitle {
    font-size: 12px;
    color: #fff;
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 16px;
    position: relative;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 12px;
    border: 1px solid #ada9a9;
    border-radius: 4px;
    background-color: #292929;
    color: #fff;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 5px rgba(127, 133, 245, 0.5);
}

.options {
    font-size: 14px;
    margin-bottom: 30px;
    color: #a0a0a0;
    text-align: left;
    margin-top: 4px;
}

.options a {
    color: #7F85F5;
    text-decoration: none;
    font-size: 13px;
    margin-left: 0px;
}

.options a:hover {
    text-decoration: underline;
}

.button-group {
    margin-bottom: 30px;
}

.next-btn {
    width: 100%;
    padding: 12px;
    background-color: #4F52B2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.next-btn:hover {
    background-color: #4048a9;
}

.create-account {
    font-size: 12px;
    color: #fcfcfc;
}

.create-account a {
    color: #7F85F5;
    text-decoration: none;
}

.create-account a:hover {
    text-decoration: underline;
}

.send-code {
    font-size: 12px;
    color: #7F85F5;
    margin-top: 10px;
    text-decoration: none;
}

.send-code:hover {
    text-decoration: underline;
}

.login-content {
    transition: opacity 0.3s ease;
}

footer {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
}

footer .links {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .links a {
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
}

footer .links a:hover {
    text-decoration: underline;
    color: #fff;
}

footer p {
    margin-top: 8px;
    color: #fff;
}

footer p a {
    color: #7F85F5;
    margin-left: 5px;
}

footer p a:hover {
    text-decoration: underline;
}