:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f3f4f6;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "Kulim Park", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.account-pages {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.account-pages-signup {
    align-items: flex-start !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.container {
    width: 100%;
    max-width: 960px;
}

.auth-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.05),
        0 8px 10px -6px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    width: 100%;
    margin: auto;
}

.auth-row {
    display: flex;
    align-items: stretch !important;
}

.bg-login {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.bg-login img.img-fluid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.auth-contain {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    padding: 2rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group-item {
    margin-bottom: 0.75rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0rem;
    color: #374151;
}

.form-control {
    height: 44px;
    font-size: 14px;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.input-with-icon {
    position: relative;
}

.input-with-icon .icon-left {
    left: 14px;
    z-index: 4;
    color: #6b7280;
    pointer-events: none;
}

.input-with-icon .form-control {
    padding-left: 42px !important;
    padding-right: 42px !important;
}

.input-with-icon .icon-right {
    right: 14px;
    z-index: 4;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
}

.input-with-icon .icon-right:hover {
    color: #374151;
}

.btn-success-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    height: 44px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-success-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.error-msg-style {
    font-size: 0.9rem;
    color: #dc2626;
    margin-top: 0.25rem;
    line-height: 1.25;
}

.success-msg-style {
    font-size: 0.9rem;
    color: #059669;
    margin-top: 0.25rem;
    line-height: 1.25;
}

@media (max-width: 991.98px) {
    .account-pages {
        padding: 1rem 0.5rem;
    }

    .account-pages-signup {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        align-items: flex-start !important;
    }

    .auth-card {
        max-width: 100%;
        border-radius: 0.75rem;
    }

    .bg-login {
        display: none;
    }

    .auth-box {
        padding: 1.5rem 1.25rem;
    }

    .form-control {
        height: 44px;
        font-size: 14px;
    }
}