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%;
}

body {
    margin-bottom: 60px;
}

.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;
}

body {
    background-color: #f4faff;
}

.custom-portal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.portal-title {
    color: #0F84E8;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 25px;
}

.form-block {
    margin-bottom: 20px;
}

    .form-block label {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        display: block;
    }

.custom-input-group {
    display: flex;
    border: 1px solid #cccccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

    .custom-input-group:focus-within {
        border-color: #0F84E8;
        box-shadow: 0 0 5px rgba(15, 132, 232, 0.2);
    }

.input-icon-box {
    background: #f8fafc;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    color: #000;
}

.custom-input-group input {
    border: none;
    outline: none;
    padding: 10px 12px;
    width: 100%;
    font-size: 14px;
}

.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-input {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

.captcha-image-box {
    border: 1px solid #ff9f43;
    background: #fffdf6;
    color: #2ed573;
    font-family: 'Courier New', monospace;
    font-size: 22px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 2px;
    padding: 4px 20px;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-refresh-captcha {
    background: #f1f5f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-download-main {
    background: #007bff;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 10px;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-color: #f0f4f8;
}

/* Main Premium Card */
.modern-portal-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 40, 100, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Top Miniature Govt Bar */
.portal-top-bar {
    background: #1e293b;
    color: #94a3b8;
    padding: 8px 25px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Center Header */
.portal-main-header {
    text-align: center;
    padding: 10px 10px 10px;
    margin: 0;
}

    .portal-main-header h2 {
        color: #0f172a;
        font-weight: 700;
        font-size: 24px;
        margin-bottom: 2px;
    }

    .portal-main-header h3 {
        color: #2563eb;
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .portal-main-header p {
        color: #64748b;
        font-size: 13px;
        max-width: 550px;
        margin: 0 auto;
    }

.header-line {
    width: 50px;
    height: 3px;
    background: #2563eb;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Options Wrapper */
.modern-options-wrapper {
    padding: 10px 35px 35px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Custom Modern Link Cards */
.modern-link-card {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 25px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* Color variations borders */
.opt-mobile {
    --accent-color: #2563eb;
}

.opt-app {
    --accent-color: #0d9488;
}

.opt-name {
    --accent-color: #4f46e5;
}

.card-accent-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent-color);
    transition: width 0.2s ease;
}

/* Icon Space */
.modern-link-icon {
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    margin-right: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Typography inside links */
.modern-link-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

    .modern-link-text .en-text {
        color: #1e293b;
        font-weight: 600;
        font-size: 15px;
    }

    .modern-link-text .hi-text {
        color: #64748b;
        font-size: 12px;
        margin-top: 2px;
    }

/* Right Side Arrow & Live Dot */
.modern-arrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    animation: quick-pulse 1.5s infinite ease-in-out;
}

/* Hover Effects */
.modern-link-card:hover {
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

    .modern-link-card:hover .card-accent-border {
        width: 8px;
    }

    .modern-link-card:hover .modern-link-icon {
        background: var(--accent-color);
        color: #fff;
        border-color: var(--accent-color);
    }

    .modern-link-card:hover .modern-arrow {
        transform: translateX(4px);
        color: var(--accent-color);
    }

/* Footer Design */
.modern-portal-footer {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

    .modern-portal-footer p {
        margin: 0;
        color: #94a3b8;
        font-size: 12px;
    }

/* Keyframe Animations */
@@keyframes quick-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* Mobile Adaptability */
@@media (max-width: 600px) {
    .modern-options-wrapper {
        padding: 15px;
    }

    .modern-link-card {
        padding: 15px;
    }

    .modern-link-icon {
        margin-right: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .modern-link-text .en-text {
        font-size: 13px;
    }

    .modern-link-text .hi-text {
        font-size: 11px;
    }

    .pulse-dot {
        display: none;
    }
}


body {
    background-color: #f4faff;
}

.custom-portal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.portal-title {
    color: #0F84E8;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 25px;
}

.form-block {
    margin-bottom: 20px;
}

    .form-block label {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        display: block;
    }

.custom-input-group {
    display: flex;
    border: 1px solid #cccccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

    .custom-input-group:focus-within {
        border-color: #0F84E8;
        box-shadow: 0 0 5px rgba(15, 132, 232, 0.2);
    }

.input-icon-box {
    background: #f8fafc;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    color: #000;
}

.custom-input-group input {
    border: none;
    outline: none;
    padding: 10px 12px;
    width: 100%;
    font-size: 14px;
}

.btn-download-main {
    background: #007bff;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 10px;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-color: #f4faff;
}

.custom-portal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.portal-title {
    color: #0F84E8;
    font-weight: 700;
    font-size: 20px;
}

.form-block {
    margin-bottom: 20px;
}

    .form-block label {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
        display: block;
    }

.custom-input-group {
    display: flex;
    border: 1px solid #cccccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

    .custom-input-group:focus-within {
        border-color: #0F84E8;
        box-shadow: 0 0 5px rgba(15, 132, 232, 0.2);
    }

.input-icon-box {
    background: #f8fafc;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #ddd;
    color: #000;
}

.custom-input-group input {
    border: none;
    outline: none;
    padding: 10px 12px;
    width: 100%;
    font-size: 14px;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
