﻿ 

.radio-wrapper-20 input[type="radio"]:focus {
    outline: 0;
    border-color: #2260ff;
    box-shadow: 0 0 0 4px #b5c9fc;
}

.radio-wrapper-20 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    justify-content: center;
}

    .radio-wrapper-20 input[type="radio"] {
        clip: rect(0 0 0 0);
        clip-path: inset(100%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

        .radio-wrapper-20 input[type="radio"]:checked + span {
            box-shadow: 0 0 0 0.0625em #0043ed;
            background-color: #dee7ff;
            z-index: 1;
            color: #0043ed;
        }

    .radio-wrapper-20 label span {
        display: block;
        cursor: pointer;
        background-color: #fff;
        padding: 0.375em .75em;
        position: relative;
        margin-left: .0625em;
        box-shadow: 0 0 0 0.0625em #b5bfd9;
        letter-spacing: .05em;
        color: #3e4963;
        text-align: center;
        transition: background-color .5s ease;
    }

    .radio-wrapper-20 label:first-child span {
        border-radius: .375em 0 0 .375em;
    }

    .radio-wrapper-20 label:last-child span {
        border-radius: 0 .375em .375em 0;
    }


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.form-control:focus {
    border-color: #CCC !important; /* subtle gray */
    box-shadow: 0 0 0 0.15rem rgba(108, 117, 125, 0.25) !important;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
.translucentbg
{
    background:rgba(255,255,255,0.7) ;
    border-radius: 20px;
    height: 100% !important;
}
 

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ======================================
   OnlineApplication Specific Styles
   ====================================== */

/* ======================================
   Common Validation Styles
   ====================================== */
.validation-error {
    color: red;
    font-size: small;
    display: block;
}

/* ======================================
   Welcome Page Styles
   ====================================== */
.welcome-page html, 
.welcome-page body, 
.welcome-page form {
    height: 100%;
}

@media only screen and (max-width: 1100px) {
    .welcome-page .background {
        height: 150vh;
    }
}

.welcome-page .col-xs-12 {
    height: 412px;
    width: 1116px;
}

.welcome-page .background span.descr {
    height: auto !important;
}

/* ======================================
   Identity Page Styles
   ====================================== */
.identity-page .background {
    min-height: 100vh; 
    height: 900px;
}

@media only screen and (max-width: 1370px) {
    .identity-page .background {
        height: 120vh; 
    }
}

.identity-page #NationalityOptions input[type="radio"] {
    margin-right: 5px;
}

.identity-page #NationalityOptions label {
    margin-left: 5px;
    padding-right: 14px;
}

/* ======================================
   IdentityNext (Application Form) Page Styles
   ====================================== */
.identity-next-page .container { 
    transform: scale(0.85); 
}

.identity-next-page .phonecode { 
    width: 30%; 
    float: left; 
    margin-right: 4px; 
    height: calc(2.25rem + 2px); 
}

.identity-next-page .phoneno { 
    width: 68%; 
    float: left; 
}

 

.identity-next-page .card { 
    width: 1100px; 
    margin-right: 400px; 
}

/* ======================================
   Terms and TermsandConditions Page Styles
   ====================================== */

.terms-modal-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

    .terms-modal-content h1, .terms-modal-content h2, .terms-modal-content h3, .terms-modal-content h4 {
        color: #2c3e50;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .terms-modal-content p {
        margin-bottom: 1rem;
    }

    .terms-modal-content ol, .terms-modal-content ul {
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .terms-modal-content li {
        margin-bottom: 0.5rem;
    }

    .terms-modal-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }

    .terms-modal-content th, .terms-modal-content td {
        border: 1px solid #dee2e6;
        padding: 8px;
        text-align: left;
    }

    .terms-modal-content th {
        background-color: #f8f9fa;
        font-weight: bold;
    }
@media only screen and (max-width: 1370px) {
    .terms-page .vcentr {
        position: relative;
        top: 50%;
        left: auto;
        transform: none;
    }
}

.terms-page .vcentr {
    text-align: justify !important;
}

.terms-page table {
    width: 100%;
    border-collapse: collapse;
}

.terms-page th, 
.terms-page td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

/* Selection Reminder Animation */
.selection-reminder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFF 0%, #FCFCFC 100%);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
 
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    /*height: 200px;*/
}

.selection-reminder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px;
    
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
 
}

.hand-pointer {
    font-size: 32px;
    display: inline-block;
    animation: pointUp 2s ease-in-out infinite;
    transform-origin: bottom center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.reminder-text {
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    animation: fadeInOut 3s ease-in-out infinite;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Hand pointing up animation */
@keyframes pointUp {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Gentle pulse animation */
@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
        transform: scale(1.02);
    }
}

/* Fade in/out text animation */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Rotating border animation */
@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hand-pointer {
        font-size: 28px;
    }
    
    .reminder-text {
        font-size: 14px;
    }
    
    .selection-reminder {
        padding: 12px;
    }
}

/* Smooth fade out transition */
.selection-reminder.fade-out {
    animation: fadeOutReminder 0.5s ease-out forwards;
}

@keyframes fadeOutReminder {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}
/* Fix dropdown arrow for select elements with form-control class */
select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

/* OR use a custom background arrow */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}