﻿html,
body {
    min-height: 100%;
}

.account-page {
    min-height: 100vh;
    direction: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(8, 30, 66, .94), rgba(20, 96, 180, .88)), url('/Images/platforms.jpeg') center center / cover no-repeat;
}

.account-card {
    width: 440px;
    max-width: 100%;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(8, 30, 66, .24);
}

    .account-card .card-body {
        padding: 2rem;
    }

.account-logo {
    max-height: 54px;
    width: auto;
}

.account-brand-title {
    color: #10233f;
    font-weight: 800;
    margin: .75rem 0 .25rem;
}

.account-brand-subtitle {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.account-page .form-control {
    height: 46px;
    border-radius: 12px;
}

.account-page .input-group-text {
    min-width: 46px;
    justify-content: center;
    border-radius: 12px;
}

.account-page .btn {
    border-radius: 12px;
    font-weight: 700;
    min-height: 44px;
}

.account-page .btn-primary {
    background-color: #1877f2;
    border-color: #1877f2;
}

    .account-page .btn-primary:hover {
        background-color: #0f63d8;
        border-color: #0f63d8;
    }

.account-page .text-link {
    color: #1877f2;
    font-weight: 700;
}

.account-page input[type="email"],
.account-page input[type="text"],
.account-page input[type="password"] {
    direction: ltr;
    text-align: left;
}

.account-actions {
    display: flex;
    gap: .75rem;
}

    .account-actions .btn {
        flex: 1;
    }

[dir="rtl"] .account-page {
    text-align: right;
}

    [dir="rtl"] .account-page .input-group > .form-control:not(:last-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    [dir="rtl"] .account-page .input-group > .input-group-append > .input-group-text {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

@media (max-width: 575.98px) {
    .account-page {
        padding: 16px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .account-card .card-body {
        padding: 1.35rem;
    }

    .account-actions {
        flex-direction: column;
    }
}

.account-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-remember {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

    .account-remember input {
        width: 18px;
        height: 18px;
        margin: 0;
    }

.account-login-btn {
    min-width: 140px;
}

@media (max-width: 575.98px) {
    .account-login-row {
        flex-direction: column;
        align-items: stretch;
    }

    .account-remember {
        justify-content: center;
    }

    .account-login-btn {
        width: 100%;
    }
}
