/* ===== Global Styles ===== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #101828; /* Global background */
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: transparent;
    gap: 40px;
    flex-wrap: wrap;
}

/* ===== Left Section ===== */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
}

.logo {
    width: 200px;
    margin-bottom: 25px;
}

.left-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
}

.left-section p {
    color: #D0D5DD;
    font-size: 15px;
    margin-bottom: 30px;
}

.cloud-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.provider-btn {
    background: #1D2939;
    border: 1px solid #2D3648;
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
    min-width: 120px;
    justify-content: center;
}

.provider-btn img {
    width: 22px;
    height: 22px;
}

.provider-btn:hover {
    border-color: #00A8B2;
    box-shadow: 0 0 12px #00A8B2;
}

/* ===== Right Section (Form) ===== */
.form-section {
    flex: 1;
    background: #1D2939;
    border: 1px solid #2D3648;
    border-radius: 12px;
    padding: 40px;
    min-width: 320px;
}

.form-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-section p {
    color: #D0D5DD;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    color: #D0D5DD;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2D3648;
    background: #101828;
    color: #FFFFFF;
    font-size: 14px;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: #00A8B2;
    box-shadow: 0 0 8px #00A8B2;
}

.forgot {
    font-size: 13px;
    color: #6B7280;
    text-align: right;
    margin-bottom: 20px;
    cursor: pointer;
}

.btn-primary {
    background: #00A8B2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: background 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    background: #00E0FF;
    box-shadow: 0 0 12px #00A8B2;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #00A8B2;
    color: #00A8B2;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-secondary:hover {
    background: #00A8B2;
    color: #FFFFFF;
    box-shadow: 0 0 12px #00A8B2;
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .left-section, .form-section {
        max-width: 600px;
        width: 100%;
    }
}

.btn-microsoft {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #f3f2f1;
    border: 1px solid #ddd;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.btn-microsoft img {
    width: 20px;
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid #a100ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@media(max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .info-box {
        border-left: none;
        border-top: 1px solid #eee;
    }
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    margin: 20px 0;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider span {
    margin: 0 10px;
    font-size: 13px;
}


.password-wrap {
    position: relative;
}

.password-wrap .toggle-password {
    position: absolute;
    right: 0px;
    top: 50%;
    cursor: pointer;
    font-size: 22px;
}