@import '_colors.css';
@import 'bootstrap-theme.css';

html {
    font-size: 67.25%;
}

body {
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

div, p {
    font-size: 1.5rem;
}

footer {
    flex: 1 0 auto;
    justify-self: flex-end;
    min-height: 8rem;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 300;
    padding: 3rem 0;
}

main {
    flex: 1 0 auto;
    min-height: 60vh;
}

label {
    font-size: 1.2rem;
}


input[type="color"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="datetime-local"],
input[type="date"],
input[type="number"],
textarea, select {
    min-height: 5rem !important;
    font-size: 1.8rem !important;
    border: 1px solid var(--input-borders);
}

input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"] {
    background: #ffffff75;

    &:active {
        background: var(--white);
    }
}

input[type="checkbox"], input[type="radio"] {
    height: 1.8rem !important;
    width: 1.8rem !important;
    border: 1px solid var(--input-borders);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav {
    gap: 2rem;
}

.nav-placeholder {
    height: 10rem;
}

/* Navbar scroll effect */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease-in-out;
}

    .navbar.scrolled {
        padding: 0.5rem 0;
        background-color: var(--white) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

.navbar-brand {
    transition: all 0.3s ease-in-out;
}

    .navbar-brand img {
        height: 60px;
        transition: all 0.3s ease-in-out;
    }

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.sunny-bg {
    background: linear-gradient( to bottom, #4ED7F1 0%, #6FE6FC 30%, #A8F1FF 60%, #FFFA8D 90%, #243B55 100% );
}

.link {
    color: var(--link-color);
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 0.2rem solid transparent;
    transition: all 0.3s ease-in-out;

    &.footer {
        color: var(--white);
    }

    &.active {
        font-weight: 900;
    }

    &:hover {
        color: var(--link-hover-color);
        border-bottom: 0.2rem solid currentColor;
    }
}

.font-xxsmall {
    font-size: 1rem !important;
}

.font-small {
    font-size: 1.2rem;
}

.font-20 {
    font-size: 2rem;
}

.font-16 {
    font-size: 1.6rem;
}

.dark-text {
    * {
        color: #333 !important;
    }
}

.nav-link {
    font-size: 1.8rem;
    color: #4E353F;

    &:hover {
        color: #80646F;
    }
}

    /* Keep navigation buttons at normal size - override global .btn rule */
    .nav-link.btn {
        padding: 0.375rem 0.75rem;
        font-size: 1.8rem;
        font-weight: 400;
    }

.hover-menu {
    position: relative;

    &:hover .hover-menu-items {
        display: block;
    }
}

.generated-url-input {
    padding: 0 1rem 0 1rem;
}

.hover-menu-items {
    display: none;
    position: absolute;
    right: 0;
    background: var(--white);
    width: 100%;
    min-width: 200px;
    box-shadow: 0 1px 12px -3px #000;
    border-bottom-left-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    opacity: 0.9;

    & > li {
        padding: 0.5rem 1rem;

        &:hover {
            background: var(--primary-color);
            opacity: 1;

            a {
                color: var(--white) !important;
            }
        }
    }
}

.counters {
    padding: 12rem 0;
    background: var(--primary-color);
    color: #fff;
    margin-top: -1rem;

    .counter {
        color: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;

        i {
            font-size: 3rem;
        }

        strong {
            font-size: 2rem;
        }

        label {
            font-size: 2rem;
            font-weight: 300;
        }
    }
}

.short-url-block {
    background: transparent;

    &.overlay {
        position: absolute;
        bottom: 35vh;
        top: 45vh;
        width: 100%;
        transition:all 0.3s ease-in-out;
    }

    body:has(#scanning-section[style*="display: block"]) &.overlay {
        top: 12vh;
    }

    .input-padding {
        padding: 3rem;
        box-shadow: 0 4px 12px -3px #000;
        background-color: rgba(255,255,255,0.7);
        border-radius: 0.8rem;
    }
}

.input-group-text {
    font-size: 2rem;
}

.validation-summary-errors {
    margin: 2rem 0;

    ul {
        background: #f5a3a3;
        color: #243B55;
        border-left: 10px solid #f00;

        li {
            padding: 1.5rem;
            font-size: 1.2rem;
        }
    }
}

.generated-urls {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;

    .list-grid-item {
        width: 100%;
        background: #ffffff;
        border: none;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 1.5rem;
        display: grid;
        grid-template-columns: 2fr 3fr 1.5fr 1fr auto;
        gap: 1.5rem;
        align-items: start;
        transition: all 0.3s ease;

        &:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            transform: translateY(-4px);
        }

        label {
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #6c757d;
            margin-bottom: 0.4rem;
            display: block;
        }

        strong {
            font-size: 1.6rem;
            font-weight: 600;
            color: #212529;
            line-height: 1.3;
        }

        .target-url {
            min-width: 20%;

            .target-url-anchor {
                display: inline-block;
                min-width: 20rem;
                font-size: 1.4rem;
                color: #0066cc;
                transition: all 0.2s ease;

                &:hover {
                    color: #004499;
                    text-decoration: underline;
                }
            }

            .details {
                margin-bottom: 0.6rem;
            }
        }

        .analytics, .stats {
            min-width: 10%;
        }

        .actions {
            flex: 1 auto;
            justify-self: flex-end;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            justify-content: flex-start;
        }
    }

    .generated-url {
        .generated-url-input {
            width: 100%;
            font-family: 'Courier New', monospace;
            font-size: 1.5rem;
            font-weight: 600;
            color: #0066cc;
            padding: 0.6rem 1rem !important;
        }
    }
    /* Responsive breakpoints */
    @media (max-width: 991px) {
        .list-grid-item {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            gap: 1.5rem;

            .actions {
                flex-direction: row;
                justify-content: center;
            }
        }
    }

    @media (max-width: 767px) {
        .list-grid-item {
            padding: 1.5rem;
        }
    }
}

.toast-container {
    position: fixed !important;
    top: 1rem;
    right: 2rem;
}

a.btn-link, .btn-outline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 4rem;
    height: 4rem;
    border: 2px solid #e9ecef;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.6rem;
    color: #6c757d;
}

    a.btn-link:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* View button */
    a.btn-link:has(i.fa-eye):hover {
        background: #0d6efd;
        border-color: #0d6efd;
        color: white;
    }

    /* QR Code button */
    a.btn-link:has(i.fa-qrcode):hover,
    button.btn-link:has(i.fa-qrcode):hover {
        background: #6f42c1;
        border-color: #6f42c1;
        color: white;
    }

    /* Edit button */
    a.btn-link:has(i.fa-pen-to-square):hover {
        background: #0dcaf0;
        border-color: #0dcaf0;
        color: white;
    }

    /* Delete button */
    button.btn-link.danger,
    a.btn-link.danger {
        color: #dc3545;
    }

        button.btn-link.danger:hover,
        a.btn-link.danger:hover,
        button.btn-link:has(i.fa-x):hover {
            background: #dc3545;
            border-color: #dc3545;
            color: white;
        }

.danger {
    color: #f00;
}

.stats {
    ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        align-items: stretch;

        li {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 8px;
            text-align: center;
            transition: all 0.2s ease;
            font-size: 1.2rem;

            &:hover {
                background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
                transform: translateY(-2px);
            }

            i {
                font-size: 1.3rem;
                color: var(--primary-color);
                margin-bottom: 0.5rem;
            }
        }
    }

    @media (max-width: 767px) {
        ul {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

.anchor-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .generated-url-input {
        border-radius: 0.4rem;
        border: 1px solid var(--primary-color);
        background: #f2f2f2;
    }

    .detail-item {
        label {
            width: 100%;
        }
    }
}

.action-buttons {
    gap: 1rem;
    justify-content: flex-end !important;
}

.shorurl-stats {
    ul {
        display: flex;
        gap: 1rem;
        font-size: 2rem;
    }
}

.map-box {
    width: 100%;
    height: 17rem;
}

.td-lg {
    width: 30%;
}

.pagination {
    a, .page-link {
        font-size: 2rem !important;
    }
}

.bg-white {
    background: var(--white);
}

.padding-10 {
    padding: 1rem;
}

#socialLoginList, #external-account {
    p {
        display: flex;
        gap: 1rem;
    }
}

/* Language Select Styling */
.language-selector {

    button {
        color: #fff !important;
    }
}

/* Currency Selector Styling - Similar to Phone Selector */
.currency-selector {
    position: relative;
    display: block;
    width: 100%;
}

.currency-dropdown {
    position: relative;
    width: 100%;
}

.currency-select {
    width: 100%;
    min-height: 5rem !important;
    font-size: 1.8rem !important;
    padding: 1rem 4rem 1rem 5rem !important;
    border: 1px solid var(--primary-color);
    border-radius: 0.4rem;
    background-color: var(--white);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

    .currency-select:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.2rem rgba(78, 53, 63, 0.25);
    }

.currency-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

    /* Currency-specific colors */
    .currency-icon.fa-dollar-sign {
        background: linear-gradient(135deg, #85bb65 0%, #5a8f3f 100%);
    }

    .currency-icon.fa-euro-sign {
        background: linear-gradient(135deg, #003399 0%, #001f5c 100%);
    }

    .currency-icon.fa-sterling-sign {
        background: linear-gradient(135deg, #c8102e 0%, #8b0a1f 100%);
    }

    .currency-icon.fa-yen-sign {
        background: linear-gradient(135deg, #bc002d 0%, #7d001e 100%);
    }

    .currency-icon.fa-brazilian-real-sign {
        background: linear-gradient(135deg, #009739 0%, #006626 100%);
    }

    .currency-icon.fa-indian-rupee-sign {
        background: linear-gradient(135deg, #ff9933 0%, #cc7a29 100%);
    }

    .currency-icon.fa-franc-sign,
    .currency-icon.fa-krona-sign,
    .currency-icon.fa-won-sign {
        background: linear-gradient(135deg, #667eea 0%, #4e5fb8 100%);
    }

    .currency-icon.fa-peso-sign {
        background: linear-gradient(135deg, #ff6b6b 0%, #cc5555 100%);
    }

    .currency-icon.fa-baht-sign,
    .currency-icon.fa-shekel-sign,
    .currency-icon.fa-rupiah-sign {
        background: linear-gradient(135deg, #48dbfb 0%, #36a8c5 100%);
    }

    .currency-icon.fa-lira-sign {
        background: linear-gradient(135deg, #e74c3c 0%, #b83a2e 100%);
    }

    .currency-icon.fa-ruble-sign {
        background: linear-gradient(135deg, #e84393 0%, #b9356f 100%);
    }

    .currency-icon.fa-forint-sign,
    .currency-icon.fa-riyal-sign {
        background: linear-gradient(135deg, #f39c12 0%, #c27d0e 100%);
    }

    .currency-icon.fa-money-bill {
        background: linear-gradient(135deg, #2ecc71 0%, #25a25a 100%);
    }

.currency-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.4rem;
    color: #666;
}

#currentCurrencyCode {
    font-weight: 600;
    color: #333;
    min-width: 4rem;
}

#currentCurrencyName {
    color: #666;
    font-size: 1.6rem;
}

/* Currency Dropdown Menu */
.currency-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 40rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 0.4rem 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.2rem;
}

.currency-search-wrapper {
    position: sticky;
    top: 0;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    z-index: 1001;
}

.currency-search-input {
    width: 100%;
    min-height: 3.5rem !important;
    padding: 0.8rem 1rem !important;
    font-size: 1.4rem !important;
    border: 1px solid #ced4da;
    border-radius: 0.4rem;
}

    .currency-search-input:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.1rem rgba(78, 53, 63, 0.15);
    }

.currency-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

    .currency-option:hover {
        background-color: #f8f9fa;
    }

    .currency-option.selected {
        background-color: #e7f1ff;
        font-weight: 500;
    }

    .currency-option:last-child {
        border-bottom: none;
    }

.currency-option-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

    /* Currency-specific colors for options */
    .currency-option-icon.fa-dollar-sign {
        background: linear-gradient(135deg, #85bb65 0%, #5a8f3f 100%);
    }

    .currency-option-icon.fa-euro-sign {
        background: linear-gradient(135deg, #003399 0%, #001f5c 100%);
    }

    .currency-option-icon.fa-sterling-sign {
        background: linear-gradient(135deg, #c8102e 0%, #8b0a1f 100%);
    }

    .currency-option-icon.fa-yen-sign {
        background: linear-gradient(135deg, #bc002d 0%, #7d001e 100%);
    }

    .currency-option-icon.fa-brazilian-real-sign {
        background: linear-gradient(135deg, #009739 0%, #006626 100%);
    }

    .currency-option-icon.fa-indian-rupee-sign {
        background: linear-gradient(135deg, #ff9933 0%, #cc7a29 100%);
    }

    .currency-option-icon.fa-franc-sign,
    .currency-option-icon.fa-krona-sign,
    .currency-option-icon.fa-won-sign {
        background: linear-gradient(135deg, #667eea 0%, #4e5fb8 100%);
    }

    .currency-option-icon.fa-peso-sign {
        background: linear-gradient(135deg, #ff6b6b 0%, #cc5555 100%);
    }

    .currency-option-icon.fa-baht-sign,
    .currency-option-icon.fa-shekel-sign,
    .currency-option-icon.fa-rupiah-sign {
        background: linear-gradient(135deg, #48dbfb 0%, #36a8c5 100%);
    }

    .currency-option-icon.fa-lira-sign {
        background: linear-gradient(135deg, #e74c3c 0%, #b83a2e 100%);
    }

    .currency-option-icon.fa-ruble-sign {
        background: linear-gradient(135deg, #e84393 0%, #b9356f 100%);
    }

    .currency-option-icon.fa-forint-sign,
    .currency-option-icon.fa-riyal-sign {
        background: linear-gradient(135deg, #f39c12 0%, #c27d0e 100%);
    }

    .currency-option-icon.fa-money-bill {
        background: linear-gradient(135deg, #2ecc71 0%, #25a25a 100%);
    }

.currency-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
}

.currency-code-display {
    font-weight: 600;
    color: #333;
    min-width: 4rem;
}

.currency-name-display {
    color: #666;
    font-weight: 400;
    flex: 1;
    margin-left: 1rem;
}

.currency-symbol-display {
    color: #999;
    font-weight: 500;
    font-size: 1.4rem;
}

/* Currency Loading State */
.currency-loading {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 1.4rem;
}

/* Currency No Results */
.currency-no-results {
    padding: 2rem;
    text-align: center;
    color: #999;
    font-size: 1.4rem;
}

/* Validation States for Currency Selector */
.currency-selector.is-invalid .currency-select {
    border-color: #dc3545;
}

    .currency-selector.is-invalid .currency-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.currency-selector.is-valid .currency-select {
    border-color: #28a745;
}

    .currency-selector.is-valid .currency-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    }

/* Responsive Design for Currency Selector */
@media (max-width: 576px) {
    .currency-select {
        font-size: 1.6rem !important;
        padding-left: 4.5rem !important;
    }

    .currency-icon {
        width: 2.4rem;
        height: 2.4rem;
        left: 1rem;
    }

    .currency-option {
        padding: 0.8rem 1rem;
    }

    .currency-option-icon {
        width: 2.4rem;
        height: 2.4rem;
    }

    .currency-info {
        font-size: 1.4rem;
    }

    #currentCurrencyName {
        font-size: 1.4rem;
    }
}

/* Language Select Styling */
.language-selector {

    button {
        color: #fff !important;
    }
}

    .language-selector .flag-icon {
        font-size: 1.2em;
        margin-right: 0.5rem;
    }

    .language-selector .dropdown-item {
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        padding: 0.5rem 1rem;
        cursor: pointer;
    }

        .language-selector .dropdown-item:hover {
            background-color: #f8f9fa;
        }

        .language-selector .dropdown-item.active {
            background-color: #e9ecef;
            font-weight: bold;
        }

    .language-selector .language-name {
        font-size: 0.9rem;
    }

    .language-selector form {
        margin: 0;
    }

.language-select {
    font-size: 1.6rem !important;
    padding: 1rem;
}

    .language-select option {
        padding: 0.8rem;
        font-size: 1.5rem;
    }

.language-select-wrapper {
    position: relative;
    display: block;
}

/* Enhanced Language Selector */
.language-preference-selector {
    position: relative;
    display: flex;
    gap: 0;
}

.language-preference-dropdown {
    position: relative;
    width: 100%;
}

.language-preference-select {
    width: 100%;
    min-height: 5rem !important;
    font-size: 1.8rem !important;
    padding: 1rem 4rem 1rem 5rem !important;
    border: 1px solid var(--primary-color);
    border-radius: 0.4rem;
    background-color: var(--white);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .language-preference-select:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.2rem rgba(78, 53, 63, 0.25);
    }

.language-preference-flag {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.1rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-preference-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.4rem;
    color: #666;
}

/* Language Dropdown Menu */
.language-preference-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 40rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 0.4rem 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.2rem;
}

.language-search-wrapper {
    position: sticky;
    top: 0;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    z-index: 1001;
}

.language-search-input {
    width: 100%;
    min-height: 3.5rem !important;
    padding: 0.8rem 1rem !important;
    font-size: 1.4rem !important;
    border: 1px solid #ced4da;
    border-radius: 0.4rem;
}

    .language-search-input:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.1rem rgba(78, 53, 63, 0.15);
    }

.language-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

    .language-option:hover {
        background-color: #f8f9fa;
    }

    .language-option.selected {
        background-color: #e7f1ff;
        font-weight: 500;
    }

    .language-option:last-child {
        border-bottom: none;
    }

.language-flag-icon {
    width: 2.8rem;
    height: 2.1rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.language-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
}

.language-display-name {
    color: #333;
    font-weight: 400;
}

.language-locale-code {
    color: #666;
    font-weight: 400;
    font-size: 1.3rem;
    font-family: monospace;
}

/* Selected Language Display */
.selected-language-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.selected-language-flag {
    width: 2.8rem;
    height: 2.1rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    object-fit: cover;
}

.selected-language-name {
    font-weight: 400;
    color: #333;
}

/* Language Loading State */
.language-loading {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 1.4rem;
}

/* Language No Results */
.language-no-results {
    padding: 2rem;
    text-align: center;
    color: #999;
    font-size: 1.4rem;
}

/* Validation States for Language Selector */
.language-preference-selector.is-invalid .language-preference-select {
    border-color: #dc3545;
}

    .language-preference-selector.is-invalid .language-preference-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.language-preference-selector.is-valid .language-preference-select {
    border-color: #28a745;
}

    .language-preference-selector.is-valid .language-preference-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    }

/* Responsive Design for Language Selector */
@media (max-width: 576px) {
    .language-preference-select {
        font-size: 1.6rem !important;
        padding-left: 4.5rem !important;
    }

    .language-preference-flag {
        width: 2.4rem;
        height: 1.8rem;
        left: 1rem;
    }

    .language-option {
        padding: 0.8rem 1rem;
    }

    .language-flag-icon {
        width: 2.4rem;
        height: 1.8rem;
    }

    .language-info {
        font-size: 1.4rem;
    }

    .language-locale-code {
        font-size: 1.2rem;
    }
}

/* Phone Country Selector */
.phone-country-selector {
    position: relative;
    display: flex;
    gap: 0;
}

.phone-country-dropdown {
    position: relative;
    min-width: 12rem;
    border-right: none;
}

.phone-country-select {
    width: 100%;
    min-height: 5rem !important;
    font-size: 1.8rem !important;
    padding: 1rem 1rem 1rem 5rem !important;
    border: 1px solid var(--primary-color);
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--white);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .phone-country-select:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.2rem rgba(78, 53, 63, 0.25);
    }

    .phone-country-select option {
        padding: 1rem 1rem 1rem 4rem;
        font-size: 1.6rem;
        background-color: var(--white);
    }

        .phone-country-select option:hover {
            background-color: var(--off-white);
        }

.phone-country-flag {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.1rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.phone-country-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.4rem;
    color: #666;
}

.phone-number-input {
    flex: 1;
    min-height: 5rem !important;
    font-size: 1.8rem !important;
    padding: 1rem !important;
    border: 1px solid var(--primary-color);
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: transparent;
}

    .phone-number-input:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.2rem rgba(78, 53, 63, 0.25);
        background: var(--white);
    }

    .phone-number-input::placeholder {
        color: #999;
        font-size: 1.6rem;
    }

/* Flag Icons in Options */
.flag-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
}

.flag-option-icon {
    width: 2.4rem;
    height: 1.8rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    object-fit: cover;
    flex-shrink: 0;
}

.flag-option-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
}

.country-code {
    color: #666;
    font-weight: 500;
}

.country-name {
    color: #333;
}

/* Phone Input Group Styling */
.phone-input-group {
    display: flex;
    width: 100%;
    position: relative;
}

    .phone-input-group.form-floating {
        position: relative;
    }

.phone-input-label {
    position: absolute;
    left: 13rem;
    top: 1.5rem;
    color: #666;
    font-size: 1.4rem;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 0;
}

.phone-number-input:focus ~ .phone-input-label,
.phone-number-input:not(:placeholder-shown) ~ .phone-input-label {
    top: 0.5rem;
    font-size: 1.2rem;
    color: var(--link-color);
}

/* Enhanced Dropdown Styling */
.phone-country-select-enhanced {
    background-image: none !important;
}

/* Country Search Feature */
.country-search-wrapper {
    position: relative;
    padding: 0.8rem;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.country-search-input {
    width: 100%;
    min-height: 3.5rem !important;
    padding: 0.8rem 1rem !important;
    font-size: 1.4rem !important;
    border: 1px solid #ced4da;
    border-radius: 0.4rem;
}

    .country-search-input:focus {
        outline: none;
        border-color: var(--link-color);
        box-shadow: 0 0 0 0.1rem rgba(78, 53, 63, 0.15);
    }

/* Dropdown Menu */
.phone-country-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200%;
    max-height: 32rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 0.4rem 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

    .phone-country-dropdown-menu.show {
        display: block;
    }

.country-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

    .country-option:hover {
        background-color: #f8f9fa;
    }

    .country-option.selected {
        background-color: #e7f1ff;
        font-weight: 500;
    }

    .country-option:last-child {
        border-bottom: none;
    }

.country-flag {
    width: 2.8rem;
    height: 2.1rem;
    /*border: 1px solid #ddd;*/
    border-radius: 0.2rem;
    object-fit: cover;
    flex-shrink: 0;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);*/
}

.country-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
}

.country-name-full {
    color: #333;
    font-weight: 400;
}

.country-dial-code {
    color: #666;
    font-weight: 500;
    font-size: 1.4rem;
}

/* Selected Country Display */
.selected-country-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.selected-country-flag {
    width: 2.8rem;
    height: 2.1rem;
    border: 1px solid #ddd;
    border-radius: 0.2rem;
    object-fit: cover;
}

.selected-country-code {
    font-weight: 500;
    color: #333;
}

/* Loading State */
.country-loading {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 1.4rem;
}

/* No Results */
.country-no-results {
    padding: 2rem;
    text-align: center;
    color: #999;
    font-size: 1.4rem;
}

/* Validation States */
.phone-input-group.is-invalid .phone-country-select,
.phone-input-group.is-invalid .phone-number-input {
    border-color: #dc3545;
}

    .phone-input-group.is-invalid .phone-country-select:focus,
    .phone-input-group.is-invalid .phone-number-input:focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.phone-input-group.is-valid .phone-country-select,
.phone-input-group.is-valid .phone-number-input {
    border-color: #28a745;
}

    .phone-input-group.is-valid .phone-country-select:focus,
    .phone-input-group.is-valid .phone-number-input:focus {
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    }

/* Responsive Design */
@media (max-width: 576px) {
    .phone-country-dropdown {
        min-width: 10rem;
    }

    .phone-country-select {
        font-size: 1.6rem !important;
        padding-left: 4.5rem !important;
    }

    .phone-country-flag {
        width: 2.4rem;
        height: 1.8rem;
        left: 1rem;
    }

    .phone-number-input {
        font-size: 1.6rem !important;
    }

    .phone-input-label {
        left: 11rem;
    }

    .country-option {
        padding: 0.8rem 1rem;
    }

    .country-flag {
        width: 2.4rem;
        height: 1.8rem;
    }

    .country-info {
        font-size: 1.4rem;
    }
}

.scanner-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

    .scanner-item.scanning {
        border-color: #007bff;
        background-color: #e7f1ff;
    }

    .scanner-item.safe {
        border-color: #28a745;
        background-color: #d4edda;
    }

    .scanner-item.unsafe {
        border-color: #dc3545;
        background-color: #f8d7da;
    }

.scanner-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
}

.scanner-name {
    flex: 1;
    font-weight: 500;
}

.scanner-status {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

    .status-badge.scanning {
        background-color: #007bff;
        color: white;
    }

    .status-badge.safe {
        background-color: #28a745;
        color: white;
    }

    .status-badge.unsafe {
        background-color: #dc3545;
        color: white;
    }

.log-message {
    font-size: 1.6rem !important;
}

/* Features Section Styles */
.features-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.feature-card h4 {
    color: #2c3e50;
    font-size: 2rem;
}

.feature-card p {
    font-size: 1.4rem;
    line-height: 1.6;
}

.feature-card ul li {
    font-size: 1.3rem;
    padding: 0.5rem 0;
}

/* Products/Pricing Section */
.products-section {
    background-color: #f8f9fa;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;

    ul {
        flex: 1 0 auto;
    }
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        border-color: #007bff;
    }

    .pricing-card.featured {
        border-color: #007bff;
        box-shadow: 0 10px 30px rgba(0,123,255,0.2);
    }

.badge-popular {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.price-tag {
    color: #007bff;
}

.pricing-card ul li {
    font-size: 1.4rem;
    padding: 0.5rem 0;
}

.comparison-table {
    font-size: 1.4rem;
}

    .comparison-table th {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1.5rem;
    }

    .comparison-table td {
        padding: 1rem;
    }

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

    .contact-section h2, .contact-section .lead {
        color: white;
    }

.contact-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

    .contact-form-card label {
        color: #000;
    }
/* Google Ads Styling */
.google-ad-container {
    max-width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.ad-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

/* Malware Scanner Progress Styles */
.scanner-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

    .scanner-item.scanning {
        background: #e3f2fd;
        border-left: 4px solid #2196f3;
    }

    .scanner-item.safe {
        background: #e8f5e9;
        border-left: 4px solid #4caf50;
    }

    .scanner-item.unsafe {
        background: #ffebee;
        border-left: 4px solid #f44336;
    }

.scanner-service-icon {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scanner-service-icon svg {
        width: 24px;
        height: auto;
    }

.scanner-name {
    flex: 1;
    font-weight: 500;
    font-size: 1.4rem;
}

.scanner-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

    .status-badge.scanning {
        background: #e3f2fd;
        color: #1976d2;
    }

    .status-badge.safe {
        background: #c8e6c9;
        color: #2e7d32;
    }

    .status-badge.unsafe {
        background: #ffcdd2;
        color: #c62828;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.blink-animation {
    animation: blink 1.5s ease-in-out infinite;
}

/* Admin Mega Menu Styles */
.admin-mega-menu {
    min-width: 350px;
    max-height: 70vh;
    overflow-y: auto;
}

    .admin-mega-menu .dropdown-header {
        font-weight: bold;
        font-size: 1.4rem;
        color: var(--primary-color);
        padding: 0.75rem 1.5rem 0.5rem;
        margin-top: 0.5rem;
    }

        .admin-mega-menu .dropdown-header:first-child {
            margin-top: 0;
        }

    .admin-mega-menu .dropdown-item {
        font-size: 1.3rem;
        padding: 0.5rem 1.5rem 0.5rem 2.5rem;
    }

        .admin-mega-menu .dropdown-item:hover {
            background-color: var(--bs-light);
            color: var(--primary-color);
        }

    .admin-mega-menu .dropdown-divider {
        margin: 0.5rem 0;
    }

/* Back to Top Button */
.btn-floating {
    position: fixed;
    bottom: 2rem;
    left: 2rem; /* Changed from right to left to avoid Tawk.to widget */
    width: 4.5rem; /* Smaller size */
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Smaller icon */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    z-index: 998; /* Below Tawk.to widget (which uses z-index: 999999) */
    border: none;
    cursor: pointer;
    opacity: 0.85; /* Slightly transparent to be more discreet */
}

    .btn-floating:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
        opacity: 1; /* Full opacity on hover */
    }

    .btn-floating:active {
        transform: translateY(-1px);
    }

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-floating {
        bottom: 1.5rem;
        left: 1rem;
        width: 4rem;
        height: 4rem;
        font-size: 1.6rem;
    }
}

.fa-2x {
    font-size: 2rem !important;
}

.see-all-link {
    cursor: pointer;
}

.full-width {
    width: 100%;
    display: block;
}

.text-center {
    span {
        display: block;
        margin: 0 auto;
    }
}
