@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0076d3;
    --primary-hover: #005eb1;
    --bg-light: #f8f9fa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #928e8e;
    margin: 0;
}

.container-login100 {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.auth-split-wrapper {
    display: flex;
    height: 100vh;
    /* use height instead of min-height */
    padding: 16px;
    gap: 20px;
    box-sizing: border-box;
    /* include padding inside 100vh */
    overflow: hidden;
    background: #fff;
}

.auth-split-left {
    flex: 0 0 46%;
    max-width: 46%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    padding: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-split-left .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 25, 58, .55);
    z-index: 1;
}

.auth-split-left-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.auth-brand-box {
    display: inline-block;
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-brand-logo {
    height: 55px;
    width: auto;
    display: block;
}

.auth-split-left-bottom {
    max-width: 390px;
    color: #fff;
    margin-bottom: 2rem;
}

.auth-split-left-bottom h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
}

.auth-split-left-bottom p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
}

.auth-split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px 40px;
}

.auth-split-right-content {
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Modern Input Styling */
.auth-input-group {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    margin-bottom: 1.25rem;
    height: 50px;
    margin-bottom: 14px;
    border-radius: 14px;
}

.auth-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 118, 211, 0.15);
}

.auth-input-group .input-group-text {
    background: transparent;
    border: none;
    padding-left: 1.25rem;
    padding-right: 0.75rem;
    color: var(--text-muted);
}

.auth-header {
    margin-bottom: 20px;
}

.auth-input-group .form-control {
    border: none;
    height: 56px;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding-left: 0.5rem;
    padding-right: 1.25rem;
    background: transparent;
}

.auth-input-group .form-control:focus {
    box-shadow: none;
    outline: none;
    background: transparent;
}

.auth-input-group .toggle-password-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding-right: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-input-group .toggle-password-btn:focus {
    outline: none;
}

/* Checkbox and links */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.auth-actions .form-check-input {
    width: 18px;
    height: 18px;
    border-color: var(--border-color);
    cursor: pointer;
}

.auth-actions .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-actions .form-check-label {
    cursor: pointer;
    color: var(--text-dark);
    padding-left: 0.25rem;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

.auth-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Button styling */
.auth-submit-btn {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.925rem;
    color: var(--text-muted);
}

/* Photo selector in registration */
.auth-photo-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-light);
}

.auth-photo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.auth-photo-preview-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
}

.auth-profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.auth-remove-photo-btn {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.auth-photo-upload-controls {
    flex-grow: 1;
}

.auth-photo-upload-controls .file-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.auth-photo-upload-controls .file-btn:hover {
    background-color: var(--primary-hover);
}

.auth-photo-upload-controls .file-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .auth-split-left {
        display: none;
    }

    .auth-split-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 2rem;
    }
}

.reset-password .auth-split-right-content {
    max-width: 430px;
}

.reset-password .auth-footer {
    margin-top: 40px;
}

.reset-password .auth-submit-btn {
    margin-top: 10px;
}

.reset-password .auth-input-group {
    margin-bottom: 20px;
}