/* Font Family - Helvetica */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
}

* {
    font-family: inherit;
}

/* Minimum font-size: 16px */
body,
p,
span,
a,
li,
td,
th,
label,
input,
textarea,
select,
button,
small {
    font-size: 16px;
}

/* Override for elements that should be larger */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
}

.navbar {
    --bs-navbar-nav-link-padding-x: 10px;
    --bs-navbar-nav-link-padding-y: 10px;
}

.navbar-nav {
    --bs-nav-link-padding-x: 10px;
    --bs-nav-link-padding-y: 10px;
}

.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.bg-lopas-dark {
    background-color: #4d4d4d;
    opacity: 0.8;
}

.banner-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.banner-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-overlay {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
}

.banner-content {
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.banner-subtitle {
    font-size: 1.5rem;
}

.banner-text {
    font-size: 1.25rem;
    line-height: 2;
}

.btn-header {
    border: 1px solid transparent;
    border-radius: 5px;
}

.btn-header:hover {
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.dropdown.nav-link {
    border-radius: 5px;
}

.dropdown.nav-link:hover {
    background-color: #fff;
    border-radius: 5px;
}

.language-dropdown-btn {
    transition: all 0.3s ease;
}

.language-flag-current {
    width: 42px;
    height: 28px;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
}

.language-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-dropdown-menu {
    min-width: 80px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.language-option {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.language-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-option .language-flag-img {
    width: 50px;
    height: 33px;
    border: 1px solid #6c757d;
    border-radius: 4px;
}

.section-white {
    background-color: white;
    position: relative;
    z-index: 2;
}

.section-dark {
    background-color: #4d4d4d;
    color: white;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: white;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.section-text {
    font-size: 15px;
    line-height: 1.8;
    color: white;
}

.section-white .section-text {
    color: #333;
}

.section-white .section-title {
    color: #333;
}

.section-icon {
    font-size: 8rem;
    color: white;
}

.mvv-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    /* border-radius: 8px; */
    height: 100%;
}

.mvv-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
}

.mvv-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.mvv-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.business-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    /* background:#4D4D4DCC; */
    border-radius: 4px;
    height: 100%;
    position: relative;
}

.business-number {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.business-icon {
    font-size: 3rem;
    color: white;
    margin: 2rem 0 1rem 0;
}

.business-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.company-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.company-info-text {
    color: white;
}

.company-info-text p {
    margin-bottom: 0.5rem;
}

.company-address {
    color: white;
}

.company-address p {
    margin-bottom: 1rem;
}

.risk-list {
    color: white;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.risk-list li {
    margin-bottom: 0.5rem;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    min-height: 300px;
}

.dashboard-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.contact-form .form-label {
    color: white;
    font-weight: 500;
}

/* Contact form row - label và input cùng dòng */
.contact-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.contact-form-label {
    color: white;
    font-weight: 500;
    min-width: 120px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.contact-form-row .input-wrapper {
    flex: 1;
    min-width: 0;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.contact-form .form-control:focus {
    background: white;
    border-color: #0d6efd;
}

.contact-form .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Input wrapper for clear button */
.contact-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-form .input-wrapper .form-control {
    padding-right: 40px;
}

/* Clear button (X button) */
.contact-form .input-clear-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.2s ease;
}

.contact-form .input-clear-btn:hover {
    color: #333;
}

.contact-form .input-clear-btn:focus {
    outline: none;
}

.textarea-input {
    height: 125px;
    resize: vertical;
    background-color: transparent !important;
    border: 2px solid #C0C0C0 !important;
}

.contact-form .form-control {
    background-color: transparent !important;
    border: 2px solid #C0C0C0 !important;
}

/* Review mode styles */
.contact-form.review-mode .contact-input {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.contact-form.review-mode .contact-input.review-disabled {
    opacity: 0.8;
}

/* Back to edit text */
.back-to-edit-text {
    color: #0d6efd;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    margin-top: 8px;
}

.back-to-edit-text:hover {
    color: #0a58ca;
}

/* Review button */
.btn-review {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.btn-review.btn-enabled {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    opacity: 1;
    cursor: pointer;
}

.btn-review.btn-enabled:hover {
    background-color: #0a58ca !important;
    border-color: #0a58ca !important;
}

/* Submit button (pink) */
.btn-submit-pink {
    background-color: #e91e63;
    border-color: #e91e63;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit-pink:hover {
    background-color: #c2185b;
    border-color: #c2185b;
    color: white;
}

/* Submit button disabled state - keep visible and distinct */
.btn-submit-pink:disabled {
    background-color: #e91e63 !important;
    border-color: #e91e63 !important;
    color: white !important;
    opacity: 0.9 !important;
    cursor: wait !important;
    /* Ensure button is visible even when disabled */
    pointer-events: none;
}

/* Invalid input styles */
.contact-form .form-control.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #dc3545 !important;
}

.contact-form .form-control.is-invalid:focus,
.contact-form textarea.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Form error message */
.form-error-message {
    padding: 12px;
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    border-radius: 4px;
    width: 100%;
}

/* Textarea clear button positioning */
.contact-form-row .input-wrapper {
    position: relative;
}

.contact-form-row textarea+.input-clear-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
}

.footer-main {
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding-top: 32px;
    padding-bottom: 16px;
}

.footer-content {
    margin-bottom: 32px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-box {
    width: 114px;
    height: 29px;
    background: white;
}

.footer-main-row {
    margin-top: 16px;
}

.footer-section {
    height: 100%;
}

.footer-section-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
    color: white;
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: white;
    font-size: 18px;
    margin-top: -5px;
}

.footer-contact-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: white;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 4px;
}

.footer-link {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: white;
}

.navbar-toggler-icon {
    background-image: url("/img/icons/menu.svg");
    width: 40px;
}

.item-language-dropdown {
    align-items: center;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

/* Thêm vào file CSS của bạn (resources/css/app.css hoặc custom.css) */
.list-square-custom {
    padding-left: 12px;
}

.list-square-custom li {
    position: relative;
    padding-left: 1rem;
    line-height: 1.7;
    list-style: none;
}

.list-square-custom li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-color: #000;
}
.contact-info-wrapper {
    text-align: left;
}

/* Checkbox đẹp chuẩn Nhật – DrLoPAS style */
.form-check-custom {
    cursor: pointer;
    user-select: none;
}

.form-check-custom-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.form-check-custom-label {
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
    font-weight: 700 !important;
    transition: color 0.2s ease;
}

.form-check-custom-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border: 2px solid #000;
    background: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form-check-custom-label::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 9px;
    height: 14px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transition: all 0.25s ease;
}

/* Khi được check */
.form-check-custom-input:checked + .form-check-custom-label::before {
    background: #3913e0;            /* đỏ Nhật */
    border-color: #3913e0;
    box-shadow: 0 4px 12px rgba(57, 19, 224, 0.3);
}

.form-check-custom-input:checked + .form-check-custom-label::after {
    transform: rotate(45deg) scale(1);
}

/* Hover & focus */
.form-check-custom:hover .form-check-custom-label::before {
    border-color: #3913e0;
    box-shadow: 0 4px 12px rgba(57, 19, 224, 0.3);
}

.form-check-custom-input:focus-visible + .form-check-custom-label::before {
    outline: 2px solid #3913e0;
    outline-offset: 2px;
}

/* Checkbox error state */
.checkbox-error .form-check-custom-label::before {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}

.checkbox-label-error {
    color: #dc3545 !important;
}
.font-25 {
    font-size: 25px !important;
}

@media (min-width: 992px) {
    .footer-contact-item {
        margin-bottom: 16px;
    }
}

@media (max-width: 992px) {
    .footer-address-text {
        margin-top: 0;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .banner-text {
        font-size: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-icon {
        font-size: 5rem;
    }

    .mvv-icon {
        font-size: 3rem;
    }

    /* Contact form mobile - label và input stack vertically */
    .contact-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-form-label {
        min-width: auto;
        width: 100%;
        margin-bottom: 0;
    }

    .contact-form-row .input-wrapper {
        width: 100%;
    }

    .business-icon {
        font-size: 2rem;
    }

    .footer-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-main-row {
        gap: 2rem;
    }

    .footer-section-title {
        font-size: 22px;
    }

    .footer-contact-item {
        align-items: flex-start;
        gap: 8px;
    }

    .footer-contact-icon {
        width: 16px;
        height: 16px;
        font-size: 16px;
        margin-top: 0;
    }
}