:root {
    --primary-color: rgb(29, 64, 92);
    --secondary-color: rgb(45, 125, 179);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf7 100%);
    padding-top: 80px;
    /* Added for fixed header */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: dot-pulse 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dot-pulse {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Main content styling */
.kFfNqn {
    padding: 30px 20px;
    flex: 1;
}

.cIUDWQ {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eVigII {
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-top: 2%;
    position: relative;
    overflow: hidden;
    border: none;
    animation: fadeIn 0.5s ease-out;
    max-width: 450px !important;
    width: 100% !important;
}

.eVigII::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.iApbYG {
    width: 180px !important;
    margin-bottom: 15px !important;
    border-radius: 10px;
}

.cnxHgy {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 30px !important;
    letter-spacing: 0.3px;
    font-size: 16px;
    text-transform: none;
}

.ioyCcs {
    width: 100%;
}

.kFPdwr {
    width: 100%;
}

.xzcRZ {
    margin-bottom: 25px;
}

.resetpass {
    font-weight: 400;
    margin-bottom: 15px !important;
    color: #555 !important;
    font-size: 14px !important;
    font-family: inherit;
}

.jxLAT {
    height: 56px;
    border-radius: 18px !important;
    border: 1.5px solid #e0e6ed !important;
    transition: all 0.3s;
    width: 100%;
    padding: 10px 20px !important;
    font-size: 14px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03) !important;
    font-family: inherit;
}

.jxLAT:focus {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 4px rgba(45, 125, 179, 0.15) !important;
    outline: none;
}

.jaHTXm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px !important;
    gap: 20px !important;
}

.btn_signin {
    background-color: var(--primary-color) !important;
    border: none !important;
    padding: 16px 30px !important;
    border-radius: 30px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(29, 64, 92, 0.25) !important;
    transition: all 0.3s !important;
    color: white !important;
    width: auto !important;
    min-width: 160px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-family: inherit;
}

.btn_signin:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(29, 64, 92, 0.35) !important;
}

.btn_signin:active {
    transform: translateY(0);
}

._3kiCWIsiMrRqCXneU8Asq6 {
    position: relative;
}

._3axrJUuPR6Tfk-J1aQF4dm {
    display: flex;
    align-items: center;
    font-size: 14px !important;
    white-space: nowrap;
}

._3axrJUuPR6Tfk-J1aQF4dm::before {
    content: '\f0c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 14px;
}

.gPtJgO {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 14px !important;
    padding: 10px 15px;
    border-radius: 30px;
    white-space: nowrap;
}

.gPtJgO:hover {
    color: var(--secondary-color);
    background-color: rgba(29, 64, 92, 0.05);
}

.gPtJgO::before {
    content: '\f060';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
}

/* Google Maps container */
.wrap {
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Custom slide in animation */
@keyframes slideInRightMD {
    from {
        transform: translate3d(5%, 0, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.slideInRightMD {
    animation-name: slideInRightMD;
    animation-duration: 1s;
}


/* Responsive adjustments */
@media (max-width: 576px) {
    .eVigII {
        padding: 30px 20px;
        max-width: 100% !important;
    }

    .jaHTXm {
        flex-direction: column;
        gap: 15px !important;
    }

    .btn_signin,
    .gPtJgO {
        width: 100% !important;
        justify-content: center;
        min-width: 0 !important;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header background custom */
.bg-custom {
    background-color: white !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn-login-menu:hover {
    background-color: rgba(29, 64, 92, 0.08);
}

.btn-signup-menu:hover {
    background-color: var(--secondary-color) !important;
}

/* Hiện thị toast messages */
.position-fixed.hide {
    display: block !important;
}

.ajax-error,
.alert-success {
    position: fixed;
    z-index: 50;
    color: white;
    padding: 12px 20px;
    max-width: 450px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease-in-out;
}

.alert-success {
    background-color: rgba(42, 157, 143, 0.95);
}

.ajax-error ul,
.alert-success ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.ajax-error ul li {
    padding: 6px 10px;
    background: #d16330;
    margin-bottom: 4px;
    box-shadow: 1px 1px 2px gray;
}