@font-face {
    font-family: 'AlticeRegular';
    src: url("../fonts/AlticeRegular.otf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'AlticeBold';
    src: url("../fonts/altice_bold-webfont.eot");
    src: url("../fonts/altice_bold-webfont.eot?#iefix") format('embedded-opentype'),
         url("../fonts/altice_bold-webfont.woff2") format('woff2'),
         url("../fonts/altice_bold-webfont.woff") format('woff'),
         url("../fonts/altice_bold-webfont.ttf") format('truetype'),
         url("../fonts/altice_bold-webfont.svg#alticebold") format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AlticeItalic';
    src: url("../fonts/altice_italic-webfont.eot");
    src: url("../fonts/altice_italic-webfont.eot?#iefix") format('embedded-opentype'),
         url("../fonts/altice_italic-webfont.woff2") format('woff2'),
         url("../fonts/altice_italic-webfont.woff") format('woff'),
         url("../fonts/altice_italic-webfont.ttf") format('truetype'),
         url("../fonts/altice_italic-webfont.svg#alticeitalic") format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/montserrat-regular-webfont.eot");
    src: url("../fonts/montserrat-regular-webfont.eot?#iefix") format('embedded-opentype'),
    url("../fonts/montserrat-regular-webfont.woff2") format('woff2'),
    url("../fonts/montserrat-regular-webfont.woff") format('woff'),
    url("../fonts/montserrat-regular-webfont.ttf") format('truetype'),
    url("../fonts/montserrat-regular-webfont.svg#montserratregular") format('svg');
    font-weight: normal;
    font-style: normal;
}

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

.alert-heading {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}

.alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.alert ul li {
    margin-bottom: 0.25rem;
}

.alert ul li:last-child {
    margin-bottom: 0;
}

.alert-dismissible {
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    position: relative;
}

.alert-close {
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    padding: 0.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: transparent;
    border: 0;
    appearance: none;
    cursor: pointer;
    opacity: 0.5;
    transition: background-color 0.2s ease;
}

.alert-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.alert-close::before,
.alert-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px; 
    height: 14px;
    background-color: currentColor;
    transform-origin: center;
}

.alert-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.alert-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* Base styles */
*, :after, :before {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    height: auto;
    line-height: 1.5;
    font-weight: 400;
    color: #3c3e43;
    text-align: left;
    background-color: #171bc2;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: AlticeRegular, Arial, sans-serif;
    font-size: 1rem;
    margin: 0;
}

/* Layout components */
.container {
    width: 430px;
    margin: 6rem auto 0;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    border-radius: 12px;
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px #0003;
    margin-bottom: 1rem;
    background-color: #fff;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

/* Form elements */
.group {
    margin-bottom: 1rem;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
    font-weight: 700;
    color: #02143a;
    font-family: AlticeRegular, Arial, sans-serif;
    font-size: 1rem;
}

.input {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 #0000;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: AlticeRegular, Arial, sans-serif;
    font-size: 1rem;
}

.control:focus {
    outline: none;
    border-color: #90c2eb;
    box-shadow: 0 0 0 1px #90c2eb; 
}

.group .control {
    border-radius: 24px;
}

/* Typography */
.logo {
    text-align: center;
    margin-bottom: 12px; 
    font-size: 2.1rem;
    font-weight: 300;
    text-size-adjust: 100%;
}

h5 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
}

.text {
    margin: 0;
    padding: 0 20px 20px;
    text-align: center;
}

.text-center {
    text-align: center !important;
}

.text-note {
    color: #687195; 
}

/* Buttons */
.btn {
    display: inline-block;
    cursor: pointer;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,
    background-color .15s ease-in-out,
    border-color .15s ease-in-out,
    box-shadow .15s ease-in-out;
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-ok {
    color: #fff;
    background-color: #2072b6;
    border-color: #1e6bab;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease; 
    box-shadow: 0 2px 4px rgba(32, 114, 182, 0.2);
}

/* Only apply hover effects when button is not disabled */
.btn-ok:not(:disabled):hover {
    background-color: #2071b5;
    border-color: #1c63a9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(32, 114, 182, 0.3);
}

.btn-ok:not(:disabled):active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(32, 114, 182, 0.2);
}

/* Only show the after element when button is not disabled */
.btn-ok:not(:disabled)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: inherit;
    transition: transform 0.2s ease-out; 
    pointer-events: none;
}

.btn-ok:not(:disabled):hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Disabled state */
.btn-ok:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

button.btn {
    padding: .375rem 1.85rem;
    border-radius: 24px;
}

/* Links */
a {
    color: #1464FA;
}

/* Utility classes */
.mt-2 {
    margin-top: 0.75rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

/* Icon list */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.icon-list li {
    display: flex;
    align-items: center;
}

.icon-list img {
    width: 49px;
    height: 49px;
    border-radius: 8px;
    object-fit: cover;
}

.icon-list a {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.icon-list a:hover {
    transform: scale(1.05);
}

.icon-list a:focus {
    outline: 2px solid #2072b6;
    border-radius: 8px;
}

/* Horizontal rule */
hr {
    border: 0;
    height: 1px;
    background-color: #3c3e43;
    margin: 1.5rem 0;
    opacity: 0.2;
}

.card hr {
    background-color: #02143a;
    opacity: 0.3;
}

/* Validation styles */
.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-family: AlticeRegular, Arial, sans-serif;
}

.input-validation-error {
    border-color: #dc3545 !important;
    padding-right: 2.5rem !important;
    background-image: url("../Images/Icons/validation-error.svg");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem 1.25rem;
}

.input-validation-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Alert variants */
.alert-danger {
    color: #842029;
    background-color: rgba(248, 215, 218, 0.95);
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

/* Media queries */
@media screen and (max-width: 576px) {
    body {
        background-color: #fff;
    }

    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .card {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .group {
        margin-bottom: 15px;
    }

    .icon-list {
        gap: 0.5rem;
    }

    .icon-list img {
        width: 40px;
        height: 40px;
    }

    hr {
        margin: 1rem 0;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

select.control {
    appearance: none;
    background-image: url("../Images/Icons/select-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    font-family: AlticeRegular, Arial, sans-serif;
    font-size: 1rem;
}

select.control option {
    padding: .375rem .75rem;
    font-family: AlticeRegular, Arial, sans-serif;
    font-size: 1rem;
    color: #3c3e43;
    background-color: #fff;
    border: none;
}

select.control option:checked {
    background-color: transparent;
    color: #02143a;
    font-family: AlticeRegular, Arial, sans-serif;
    font-weight: 700;
}

select.control option:hover {
    background-color: rgba(240, 240, 240, 0.9);
}

/* Remove scrollbar when not needed */
select.control {
    overflow-y: auto;
}

select.control[size="2"] {
    overflow: hidden;
}

/* Soften the dropdown border */
select.control {
    border: 1px solid rgba(206, 212, 218, 0.8);
    border-radius: .25rem;
}

select.control:focus {
    outline: none;
    border-color: #90c2eb;
    box-shadow: 0 0 0 1px #90c2eb;
    background-image: url("../Images/Icons/select-arrow-focus.svg");
}
.recaptcha-wrapper {
    width: 304px; /* reCAPTCHA's width */
    margin: 1rem auto;
}

.full-with {
    width: 100%;
}
/* Add these classes to your existing CSS */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.col {
    flex: 1;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Adjust group margin when inside a column */
.col .group {
    margin-bottom: 1rem;
    width: 100%;
}

/* Responsive breakpoints */
@media screen and (max-width: 576px) {
    .row {
        flex-direction: column;
    }
    
    .col {
        flex: none;
        width: 100%;
    }
}
.row .control {
    font-size: 0.9375rem;
}

.row select.control {
    font-size: 0.9375rem;
}

.row select.control option {
    font-size: 0.9375rem;
}
.row label {
    font-size: 0.9375rem;
}
/* Make placeholders brighter */
.control::placeholder {
    color: #9da3ad; /* Brighter gray compared to the default */
    opacity: 1; /* Ensure full opacity */
}

/* Handle different browser vendor prefixes for better compatibility */
.control::-webkit-input-placeholder {
    color: #9da3ad;
    opacity: 1;
}

.control::-moz-placeholder {
    color: #9da3ad;
    opacity: 1;
}

.control:-ms-input-placeholder {
    color: #9da3ad;
    opacity: 1;
}

.control::-ms-input-placeholder {
    color: #9da3ad;
    opacity: 1;
}
/* Loader styles */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Light dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.loader {
    width: 50px;
    height: 50px;
}

.spinner {
    animation: rotate 2s linear infinite;
    transform-origin: center center;
    width: 100%;
    height: 100%;
}

.spinner circle {
    stroke: rgba(0, 0, 0, 0.75); /* Semi-transparent black */
    stroke-dasharray: 128;
    stroke-dashoffset: 128;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 128;
    }
    50% {
        stroke-dashoffset: 32;
    }
    100% {
        stroke-dashoffset: 128;
    }
}
select[data-hide-placeholder] option[value=""] {
    display: none;
}
.hidden-group {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hidden-group * {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}
/* Add these styles at the end of your ns.css file */

/* Account picker styles */
.account-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-item {
    position: relative;
}

.account-label {
    display: block;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-label:hover {
    border-color: #90c2eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hide the radio button visually while keeping it accessible */
.account-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style for selected state using the radio button's checked state */
.account-item input[type="radio"]:checked + .account-label {
    border-color: #2072b6;
    background-color: rgba(32, 114, 182, 0.05);
}

/* Focus styles for keyboard navigation */
.account-item input[type="radio"]:focus + .account-label {
    outline: 2px solid #90c2eb;
    outline-offset: 2px;
}

/* Rest of the styles remain the same */
.account-address {
    font-size: 0.9375rem;
    color: #3c3e43;
    margin-bottom: 0.5rem;
}

.account-services {
    font-size: 0.875rem;
    color: #687195;
    margin-bottom: 0.5rem;
}

/* ... (rest of your existing CSS for service tags and icons remains the same) ... */

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-tag {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Service icons as SVG */
.icon-internet {
    background-image: url("../Images/Icons/internet.svg");
}

.icon-tv {
    background-image: url("../Images/Icons/tv.svg");
}

.icon-phone {
    background-image: url("../Images/Icons/phone.svg");
}

.icon-mobile {
    background-image: url("../Images/Icons/mobile.svg");
}

.icon-internet-mobile {
    background-image: url("../Images/Icons/internet-mobile.svg");
}

.icon-internet-home {
    background-image: url("../Images/Icons/internet-home.svg");
}

.service-tag {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.button-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Changed from center to space-between */
    gap: 1rem;
    margin: 1rem 0;
}

.button-group .btn {
    margin: 0; /* Reset any margins */
}

.btn-cancel, 
.btn-ok {
    flex: 0 1 auto; /* Allow buttons to shrink but not grow */
    min-width: 120px; /* Ensure minimum width for buttons */
}

.btn-cancel {
    color: #6c757d;
    background-color: transparent;
    border: 1px solid #6c757d;
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
    border-radius: 24px;
    padding: .375rem 1.85rem;
    text-decoration: none;  /* Remove underline */
    display: inline-block;  /* Ensure proper rendering as button */
}

/* Handle responsive layout */
@media screen and (max-width: 576px) {
    .button-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .button-group .btn {
        width: 100%;
        text-align: center;
    }
}

/* Rest of the btn-cancel styles remain the same */
.btn-cancel:not(:disabled):hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    text-decoration: none;  /* Ensure no underline on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.btn-cancel:not(:disabled):active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(108, 117, 125, 0.2);
}

.btn-cancel:not(:disabled)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: inherit;
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

.btn-cancel:not(:disabled):hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}