@font-face {
    font-family: 'Causten';
    src: url('../../fonts/causten/causten-regular-webfont.woff2') format('woff2'),
        url('../../fonts/causten/causten-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Causten';
    src: url('../../fonts/causten/causten-medium-webfont.woff2') format('woff2'),
        url('../../fonts/causten/causten-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Causten';
    src: url('../../fonts/causten/causten-semibold-webfont.woff2') format('woff2'),
        url('../../fonts/causten/causten-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Causten';
    src: url('../../fonts/causten/causten-bold-webfont.woff2') format('woff2'),
        url('../../fonts/causten/causten-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Causten', sans-serif !important;
    background-color: #F8F7F2;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Causten', sans-serif !important;
}

h3 {
    font-weight: 700;
    color: #000;
    font-size: 32px;
    margin-bottom: 0;
}

/* Card Styling */
.auth-card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #FFFFFF;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 10px;
}

.custom-padding {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
}

/* Back Button */
.btn-back {
    border: 1px solid #E5E5E5;
    background: #FFFFFF;
    color: #000;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    margin-bottom: 40px;
    transition: all 0.2s;
}

.btn-back:hover {
    background-color: #f8f9fa;
    border-color: #000;
}

/* Custom Tabs (Email / Phone) */
.tab-container {
    display: flex;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 30px;
    margin-top: 45px;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: #8c8070;
    /* Brownish gold from image */
    color: #8c8070;
    /* Or black based on preference */
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Overlap the border */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8c735d;
    /* The brownish underline color */
}

/* Input Fields */
.form-control-custom {
    height: 58px;
    border-radius: 12px;
    border: 2px solid #000;
    /* Thicker border as per image */
    padding-left: 55px;
    /* Space for icon */
    font-size: 16px;
    color: #333;
}

.form-control-custom::placeholder {
    color: #0088ff;
    font-weight: 400;
}

.form-control-custom:focus {
    box-shadow: none;
    border-color: #000;
}

.input-icon {
    font-size: 20px;
    color: #6c757d;
    z-index: 10;
}

/* Continue Button */
.btn-dark-custom {
    background: #161212;
    color: #FFFFFF;
    height: 52px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 15px;
    border: none;
}

.btn-dark-custom:hover {
    background: #000;
    color: #fff;
}

body {
    font-family: 'Causten', sans-serif;
}

h3 {
    font-family: 'Causten';
    font-weight: 700;
}

body.authentication-page {
    background-color: #F4F3EF;
}

.auth-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E4E4E7;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 11px;
    text-align: center;
}

.form-control {
    height: 52px;
    border-radius: 8px;
}

.form-control:focus {
    border: 2px solid #000 !important;
    box-shadow: none !important;
}

.iti--allow-dropdown input, .iti--allow-dropdown input[type=text], .iti--allow-dropdown input[type=tel], .iti--separate-dial-code input, .iti--separate-dial-code input[type=text], .iti--separate-dial-code input[type=tel] {
    padding-right: 6px !important;
    padding-left: 102px !important;
    margin-left: 0 !important;
    height: 52px !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
}

/* Hide the default dropdown arrow next to +92 */
.iti__selected-flag .iti__arrow {
    display: none !important;
}

/* Add custom chevron-down icon after +92 */
.iti__selected-dial-code::after {
    content: '\ea5f';
    /* Tabler Icons chevron-down */
    font-family: 'tabler-icons';
    margin-left: 8px;
    font-size: 14px;
    color: #6c757d;
    vertical-align: middle;
}

/* Add vertical line separator after the country selector */
.iti--separate-dial-code .iti__selected-flag::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 1px;
    background-color: #D1D5DB;
}

body.authentication-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #F4F3EF;
}

.auth-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    background: #FFFFFF;
    border-bottom: 1px solid #E4E4E7;
    width: 100%;
}

.auth-page-header .brand-logo img {
    height: 40px;
    width: auto;
}

.auth-page-header .header-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.auth-page-header .nav-link-item {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.auth-page-header .btn-signin-header {
    background: #0D0D0D;
    color: #fff;
    padding: 10px 32px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-page-header .btn-signin-header:hover {
    background: #000;
    color: #fff;
}

.auth-page-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-page-footer {
    padding: 20px 0;
    background: #FFFFFF;
    border-top: 1px solid #E4E4E7;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #71717A;
    font-weight: 500;
}
