html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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%;
}



.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;
}





.main-content {
    flex: 1;
/*    display: flex;*/
    align-items: center;
    justify-content: center;
/*    padding: 10px 20px;*/
}

.registeration-container {
    max-width: auto;
    width: 100%;
}

.registeration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(27, 56, 117, 0.15);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(27, 56, 117, 0.1);
}

    .registeration-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #1b3875, #4b5e9a);
    }

.registeration-header {
    text-align: center;
    margin-bottom: 20px;
}

.registeration-title {
    font-family: 'Playfair Display', serif;
    color: #1b3875;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #1b3875;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .form-label i {
        color: #4b5e9a;
    }

.form-control-custom {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5ee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

    .form-control-custom:focus {
        outline: none;
        border-color: #1b3875;
        background: white;
        box-shadow: 0 0 0 4px rgba(27, 56, 117, 0.1);
    }

.btn-registeration {
    background: linear-gradient(135deg, #1b3875 0%, #2f4b8a 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .btn-registeration:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 56, 117, 0.3);
        background: linear-gradient(135deg, #223d8f 0%, #3759a5 100%);
    }

    .btn-registeration:disabled {
        background: #a0aec0;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.registration-link {
    text-align: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
}

    .registration-link a {
        color: #1b3875;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .registration-link a:hover {
            color: #4b5e9a;
            text-decoration: underline;
        }

/* OTP Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .modal-overlay.show {
        display: flex;
    }

.otp-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(27, 56, 117, 0.15);
    padding: 30px;
    max-width: 450px;
    width: 90%;
}

.otp-header {
    text-align: center;
    margin-bottom: 25px;
}

.otp-title {
    font-family: 'Playfair Display', serif;
    color: #1b3875;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.otp-subtitle {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.otp-input-group {
    margin-bottom: 20px;
}

.otp-timer {
    text-align: center;
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

.timer-text {
    font-weight: 600;
    color: #1b3875;
}

.otp-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-verify {
    flex: 1;
    background: linear-gradient(135deg, #1b3875 0%, #2f4b8a 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-verify:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 56, 117, 0.3);
    }

.btn-resend {
    background: linear-gradient(135deg, #199319 0%, #0f7a1c 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 14px 20px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    .btn-resend:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(25, 147, 25, 0.3);
    }

    .btn-resend:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .registeration-card {
        padding: 30px 25px;
    }

    .registeration-title {
        font-size: 1.8rem;
    }

    .otp-actions {
        flex-direction: column;
    }

    .btn-resend {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .registeration-card {
        padding: 25px 20px;
    }

    .otp-modal {
        padding: 20px;
    }
}

form-label.required::after {
    content: " *";
    color: #e53e3e;
}

/* Improved the Cancel button in Modal */
.btn-cancel {
    background: #edf2f7;
    color: #4a5568;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

    .btn-cancel:hover {
        background: #e2e8f0;
        color: #2d3748;
    }

/* Fix for OTP inputs to look better */
.otp-field {
    text-align: center;
    letter-spacing: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}
/*.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a94a6;
    font-size: 18px;
}*/