﻿/* Main Page Gradient */
.bg-gradient-primary-to-secondary {
    background: linear-gradient(to right, #7b0000, #b71c1c, #ffb300, #b71c1c, #7b0000);
}

/* Information Sections */
.bg-gradient-light-blue {
    background: linear-gradient(135deg, #fff8e1, #ffe082);
}

.bg-gradient-light-green {
    background: linear-gradient(135deg, #fffdf7, #fff3cd);
}

/* Form Controls */
.form-control,
.form-select {
    border: 1px solid #ffb300;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}

.select2 {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ffb300;
    appearance: none;
    border-radius: 8px;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

    /* Focus State */
    .form-control:focus,
    .form-select:focus,
    .select2:focus {
        border-color: #b71c1c;
        box-shadow: 0 0 8px rgba(183, 28, 28, 0.25);
    }

/* Mandatory */
.form-mandatory {
    color: #d32f2f;
    font-weight: bold;
}

/* Section Header */
.section-header {
    background: linear-gradient(to right, #7b0000, #b71c1c, #ffb300);
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(123, 0, 0, 0.15);
}

    .section-header p {
        margin-bottom: 0;
        color: #fff;
    }

/* Cards */
.card {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(123, 0, 0, 0.10);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(123, 0, 0, 0.15);
    }

/* Buttons */
.btn-group .btn {
    margin: 0 0.5rem;
    min-width: 180px;
    border-radius: 30px;
    font-weight: 600;
}

/* Table */
.tbl {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.tbl-headeritem {
    background: linear-gradient(to right, #7b0000, #b71c1c);
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid #ffd54f;
}

.tbl-row td {
    text-align: center;
    padding: 0.75rem;
    border: 1px solid #ffe082;
}

.tbl-row:nth-child(even) {
    background: #fffdf7;
}

.tbl-row:hover {
    background: #fff8e1;
}

/* Radio & Checkbox Labels */
.form-check-label {
    margin-left: 0.5rem;
}

/* Child Section Header */
.child-header2 {
    padding: 8px 15px;
    margin: 8px 0;
    background: linear-gradient(to right, #7b0000, #b71c1c);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    border-left: 5px solid #ffb300;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .btn-group .btn {
        min-width: 100%;
        margin-bottom: 1rem;
    }

    .section-header {
        padding: 0.75rem;
    }
}


.tvk-info-card,
.tvk-otp-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(123, 0, 0, 0.14);
    background: #ffffff;
}

.tvk-card-header {
    background: linear-gradient(90deg, #7b0000, #b71c1c, #ffb300);
    border-bottom: 4px solid #ffc107;
}

.tvk-detail-table {
    margin-bottom: 0;
    border-color: #ffe082;
}

    .tvk-detail-table thead th {
        background: #fff8e1;
        color: #7b0000;
        font-weight: 700;
        border-color: #ffd54f;
        padding: 14px;
    }

    .tvk-detail-table thead small {
        color: #6c4a00;
        font-weight: 500;
    }

    .tvk-detail-table tbody td {
        padding: 14px;
        border-color: #ffe082;
    }

    .tvk-detail-table tbody tr:hover {
        background: #fffdf7;
    }

.tvk-value-text {
    color: #7b0000;
    font-weight: 700;
}

.tvk-success-text {
    color: #b71c1c;
    font-weight: 700;
}

.tvk-danger-text {
    color: #c62828;
    font-weight: 700;
}

.tvk-otp-card {
    border-top: 5px solid #ffc107;
}

.tvk-label {
    color: #7b0000;
}

    .tvk-label small {
        color: #6c757d;
    }

.tvk-input-icon {
    background: linear-gradient(135deg, #7b0000, #b71c1c);
    color: #ffffff;
    border: 1px solid #b71c1c;
}

.tvk-form-control {
    border: 1px solid #ffb300;
    border-radius: 0 8px 8px 0;
    box-shadow: none;
}

    .tvk-form-control:focus {
        border-color: #b71c1c;
        box-shadow: 0 0 8px rgba(183, 28, 28, 0.25);
    }

.tvk-btn-group .btn {
    min-width: 190px;
    font-weight: 700;
    border-radius: 30px !important;
    margin: 0 6px;
}

.tvk-btn-primary {
    background: linear-gradient(to right, #7b0000, #b71c1c, #ffb300);
    color: #ffffff;
    border: none;
}

    .tvk-btn-primary:hover {
        background: linear-gradient(to right, #ffb300, #b71c1c, #7b0000);
        color: #ffffff;
    }

.tvk-btn-secondary {
    background: #fff8e1;
    color: #7b0000;
    border: 1px solid #ffc107;
}

    .tvk-btn-secondary:hover {
        background: #ffc107;
        color: #4a0000;
    }

@media (max-width: 768px) {
    .tvk-btn-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

        .tvk-btn-group .btn {
            width: 100%;
            margin: 0;
        }
}