/* File: assets/css/account.css */

.account-page-wrapper {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 71px); /* Adjust 71px to your header's height */
    padding: 3rem 0;
    font-family: 'Jost', sans-serif;
}

.account-container {
    width: 100%;
    max-width: 550px;
    padding: 15px;
}

.account-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border: 1px solid #e9ecef;
}

.account-header {
    text-align: center;
    margin-bottom: 2rem;
}

.account-header h2 {
    font-weight: 600;
    font-size: 1.8rem;
    color: #181616;
    margin-bottom: 0.5rem;
}

.account-header p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

.social-login .btn-social-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    color: #495057;
    border: 1px solid #ced4da;
    padding: 0.6rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.social-login .btn-social-google:hover {
    background-color: #f8f9fa;
}
.social-login .btn-social-google img {
    width: 18px;
    height: 18px;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #adb5bd;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}
.separator span {
    padding: 0 1rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-color: #e9ecef;
}
.form-control:focus {
    background-color: #fff;
    border-color: #0B1B3C;
    box-shadow: none;
}

.password-wrapper {
    position: relative;
}
.password-wrapper .form-control {
    padding-right: 2.5rem; /* Space for the icon */
}
.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #adb5bd;
}

.forgot-password-link {
    font-size: 0.85rem;
    color: #0B1B3C;
    text-decoration: none;
}
.forgot-password-link:hover {
    text-decoration: underline;
}

.btn-primary {
    background-color: #0B1B3C;
    border-color: #0B1B3C;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary:hover {
    background-color: #1C2F5C;
    border-color: #1C2F5C;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}
.form-footer a {
    color: #0B1B3C;
    font-weight: 500;
    text-decoration: none;
}
.form-footer a:hover {
    text-decoration: underline;
}
.form-footer .terms-text {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Helper class from Bootstrap 5, included here for standalone use if needed */
.d-none {
    display: none !important;
}

@media (max-width: 576px) {
    .account-box {
        padding: 2rem 1.5rem;
    }
}
