body {
    /* background-image: url('../images/bg.png'); */
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fdfdfd;
    /* color: #ffffff; */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2356B2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: -25px;
    margin-top: -25px;
    box-sizing: border-box;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header */
.header-main {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search {
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.header-login {
    text-decoration: none;
    font-weight: 500;
    color: #333;
}

.hamburger-menu {
    cursor: pointer;
    display: inline-block;
    padding: 8px;
}

.hamburger-menu .bar {
    width: 24px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    display: block;
}

.lang-selector {
    background-color: #f7f7f7;
    padding: 8px 20px;
    font-size: 14px;
    color: #444;
}

.lang-current {
    font-weight: 600;
    color: #000;
}

.lang-link {
    color: #1a73e8;
    text-decoration: none;
}

/* Card */
.main-card-container {
    padding: 0 16px;
    box-sizing: border-box;
}

.main-card {
    max-width: 460px;
    margin: 20px auto;
    font-family: 'Segoe UI', sans-serif;
    position: relative;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.3);
}

.main-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F2F3F5;
    padding: 16px 24px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.main-card-header-text {
    flex: 1;
}

.main-card-header-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1c1c1c;
}

.main-card-header-desc {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555;
}

.main-card-header-logo {
    margin-left: 16px;
    flex-shrink: 0;
}

.main-card-header-logo img {
    height: 40px;
    width: auto;
}

.main-card-form-section {
    padding: 24px;
}

/* Form */
.form-group-custom {
    margin-bottom: 20px;
}

.form-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #CED4DA;
    border-radius: 10px;
    padding: 10px;
}

.form-input-wrapper:focus-within {
    border: 1px solid #2356B2;
    box-shadow: 0 0 0 2px rgba(35, 86, 178, 0.15);
}

.form-input-icon {
    margin-right: 10px;
}

.form-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 15px;
    background: transparent;
}

.form-group-custom:last-child {
    margin-bottom: 24px;
}

.form-phone-flag {
    margin-right: 10px;
    white-space: nowrap;
}

.submit-btn {
    width: 100%;
    background-color: #2356B2;
    color: white;
    padding: 7px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #1a3f8c;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.iti .iti__tel-input {
    padding-left: 36px;
    width: 100%;
}

/* Splash & Loader */
#splash-screen {
    position: fixed;
    z-index: 99999;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#splash-screen .spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2356B2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

#loader {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}

#loader .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Footer */
.footer-img-container {
    position: relative;
    text-align: left;
    max-width: 500px;
}

.footer-img {
    width: 100%;
}

footer {
    background-color: #ffffff;
    padding: 16px;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.footer-content {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 13px;
    color: #555;
    margin: 0;
}

/* Toast */
#toast-container {
    position: fixed;
    top: 115px;
    right: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fullwidth {
    width: 100% !important;
}