@font-face {
    font-family: 'Bebas';
    src: url('../fonts/fonts_uk/BEBAS___.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat ExtraBold';
    src: url('../fonts/fonts_uk/Montserrat-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/fonts_uk/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/fonts_uk/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/fonts_uk/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
}

body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    overflow-x: hidden;
    background-color: #fff;
}

.header {
    position: relative;
    height: 130px;
    background: url("../images/agent_uk/bgcompressed.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    overflow: hidden;
}

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

.logo {
    height: 150px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 1;
}

.couple-img {
    height: 130px;
}

.org-name {
    font-family: "Montserrat ExtraBold", sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-top: 5px;
    display: block;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 1;
    z-index: 3;
}

.header-links {
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.header-links a,
.header-links span {
    color: inherit;
    white-space: nowrap;
}

.nav-wrapper {
    background-color: #f97300;
    position: relative;
    overflow: visible;
    padding-bottom: 5px;
    z-index: 10;
}

.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 20px;
    padding: 12px 0;
    gap: 24px;
}

.nav-item {
    padding: 12px 16px;
    color: black;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.nav-item:hover {
    text-decoration: underline;
}

.nav-item.active {
    color: white;
}

.nav-item.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #f97300;
    z-index: 11;
    bottom: -28px;
}

/* Restrict form width */
.uk-container form {
    max-width: 700px;
    margin: auto;
}

/* Add border radius to input/select/textarea */
.uk-input,
.uk-select,
.uk-textarea {
    border-radius: 4px;
}

.criteria {
    font-size: 0.9rem;
    margin-top: 10px;
    list-style: none;
    padding-left: 0;
    display: none;
}

.criteria li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.criteria li .icon {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.pass {
    color: green;
}

.fail {
    color: gray;
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #666;
    padding-bottom: 60px;
}

.footer-text span {
    display: block;
}


.custom-error-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0;
}

.custom-error-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.bullet-icon {
    color: #cc0000;
    font-size: 0.45em;
    margin-right: 8px;
    line-height: 1;
    position: relative;
    top: 1px;
    /* nudges it down slightly for better alignment */
}


.uk-icon {
    color: #f97300;
}

.create-btn {
    background-color: #f97300;
    color: white;
    font-weight: bold;

}

.create-btn:hover {
    background-color: #f97300 !important;
    color: white !important;
}

.login-error-alert {
    background: #fffceb;             
    border: 1px solid #f3d7a6;        
    border-radius: 6px;
}
.login-error-alert ul {
    margin: 0;                         
    padding-left: 1.2em;   
    text-align: left;
}
.login-error-alert li {
    list-style: disc;
    color: #e28327;                    
}
.login-error-alert li strong {
    color: #e28327;
}

.uk-switch { position:relative; display:inline-block; width:30px; height:16px; }
.uk-switch input { opacity:0; width:0; height:0; }
.uk-switch-slider {
    position:absolute; inset:0; cursor:pointer; background:#ddd; transition:.2s; border-radius:34px;
}
.uk-switch-slider:before {
    content:""; position:absolute; height:12px; width:12px; left:2px; top:2px; background:#fff;
    transition:.2s; border-radius:50%;
}
.uk-switch input:checked + .uk-switch-slider { background:#f48413; }
.uk-switch input:checked + .uk-switch-slider:before { transform:translateX(14px); }

.show-pass-label { font-size:0.8rem; color:#555; }
.alert-soft-danger {
    display:flex; gap:10px; align-items:flex-start;
    border:1px solid #f2b9ac;            
    background:#fff3f1;                 
    color:#c23b27;                     
    border-radius:6px; padding:12px 14px;
}
.alert-soft-danger .icon{ font-size:22px; line-height:1; color:#f97300; }
.alert-soft-danger .title{ font-weight:700; letter-spacing:.4px; margin-bottom:2px; }

.strength-wrap { background:#e6e6e6; height:14px; border-radius:6px; overflow:hidden; }
.strength-bar { height:100%; width:0%; transition:width .25s ease; }
.strength-0 { background:#bbb; }     
.strength-1 { background:#d9534f; }  
.strength-2 { background:#f0ad4e; }  
.strength-3 { background:#5bc0de; }  
.strength-4 { background:#5cb85c; }  
.strength-5 { background:#006400; } 
.uk-validate-error{
    display:block; background:rgba(255,0,0,.05); padding:4px 8px;
    border-radius:4px; margin-top:6px; font-size:.9em;
}
.uk-input.uk-form-danger, .uk-select.uk-form-danger{
    border-color:#e33; box-shadow:0 0 0 2px rgba(227,51,51,.08);
}

.loader-overlay {
    position: fixed;
    inset: 0;
    display: none;               /* hidden at start */
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    z-index: 2000;               /* above UIkit modal content */
    backdrop-filter: blur(1px);
}

 .uk-validate-success{
    display:block;
    background:#e6f6e6;        /* light green */
    color:#0f7e0f;             /* green text */
    padding:4px 8px;
    border-radius:4px;
    margin-top:6px;
    font-size:.9em;
  }

@media (max-width: 480px) {
    .logo {
        max-height: 100px;
    }
    .couple-img {
        height: 100px;
    }
    .nav {
        font-size: 13px;
    }
    .nav-item {
        flex: 1 1 auto;
        text-align: center;
        padding: 10px 4px;
    }
    .nav-item.active::after {
        bottom: -25px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #f97300;
    }
}


@media (max-width: 639px) {
    .uk-grid > .uk-grid-margin {
        margin-top: 10px !important;
    }
}