﻿﻿ /* ============================= */
/* GLOBAL */
/* ============================= */
body {
    background: #F5F7FA;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ============================= */
/* HEADER */
/* ============================= */
.selova-fixed-header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.selova-box {
    background: #0B6B85;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.selova-logo {
    width: 80px;
}

.selova-link {
    color: white;
    text-decoration: none;
    display: block;
    font-weight: 600;
    margin-top: 5px;
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
    background: linear-gradient(135deg,#0B6B85,#14B1C6);
    color: white;
    padding: 120px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

    .hero h1 {
        font-size: 48px;
        font-weight: 800;
    }

    .hero p {
        max-width: 700px;
        margin: auto;
    }

/* BUTTONS */
.explore-btn {
    display: inline-block;
    background: #f1f3f5;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.glass-btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.2);
    color: white;
    transition: 0.3s;
}

    .glass-btn:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,0.35);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

/* ============================= */
/* ACTION CARDS */
/* ============================= */
/* ===== FOOTER STYLE ===== */
.selova-footer {
    background: #0f3f47;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 40px;
}

    .selova-footer h5 {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .selova-footer a {
        color: #14B1C6;
        text-decoration: none;
    }

        .selova-footer a:hover {
            text-decoration: underline;
        }

    .selova-footer hr {
        border-color: rgba(255,255,255,0.2);
    }
/* ===== MODAL BACKGROUND ===== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== MODAL BOX ===== */
.custom-modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

/* ===== HEADER ===== */
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== CLOSE BUTTON ===== */
.close-btn {
    background: #0f3f47;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
}

/* ===== IMAGE ===== */
.about-img {
    width: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.pink-card,
.pink-card .card-body {
    background-color: #f3c6d3 !important;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    transition: .25s;
    cursor: pointer;
}

    .action-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0,0,0,.12);
    }

    .action-card i {
        font-size: 28px;
        color: #0B6B85;
    }

/* ============================= */
/* CAROUSEL */
/* ============================= */
.carousel-container {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 15px;
}

#adCarousel img {
    height: 280px;
    object-fit: contain;
    border-radius: 12px;
}

/* ============================= */
/* INFO RIBBON */
/* ============================= */
.info-ribbon {
    background: linear-gradient(90deg,#fff4b8,#fff8d4);
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    margin: 20px auto;
    max-width: 1100px;
    color: #333;
}

/* ============================= */
/* GRID TABLE */
/* ============================= */
.product-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

    .product-table th {
        background: #0B6B85;
        color: white;
    }

/* CUSTOM GRID */
.my-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .my-table thead th {
        background: linear-gradient(135deg,#0B6B85,#14B1C6);
        color: white;
        padding: 12px;
        text-align: center;
    }

    .my-table tbody tr:nth-child(odd) {
        background: #0f4c5c;
    }

    .my-table tbody tr:nth-child(even) {
        background: #136f8a;
    }

    .my-table tbody tr:hover {
        background: #1f8aa5;
    }

    .my-table td {
        padding: 10px;
        color: white;
    }

/* ============================= */
/* IMAGE MODAL */
/* ============================= */
.img-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.img-modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.closeZoom {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ============================= */
/* MODAL (FAQ etc) */
/* ============================= */
.faq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.faq-box {
    background: white;
    width: 95%;
    max-width: 1100px;
    height: 90vh; /* 🔥 increase height */
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* WIZARD FULL WIDTH */
#wizardContainer .card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#wizardContainer {
    width: 100%;
}

    #wizardContainer .card {
        width: 100%;
    }

    #wizardContainer .card-body {
        padding: 30px;
    }
/* FORM TEXT SIZE */
#wizardContainer {
    font-size: 17px; /* 🔥 overall increase */
}

    #wizardContainer .form-label {
        font-size: 16px;
        font-weight: 600;
    }

    #wizardContainer .form-control,
    #wizardContainer .form-select {
        font-size: 16px;
        padding: 12px 14px;
    }

    /* Headings */
    #wizardContainer h4 {
        font-size: 24px;
    }

    #wizardContainer p {
        font-size: 16px;
    }

.form-control {
    height: 45px;
}

textarea.form-control {
    height: auto;
}

.faq-header h2,
.faq-header h3 {
    font-size: 24px;
}

/* ============================= */
/* WIZARD PREMIUM UI */
/* ============================= */

/* Progress Bar */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

    .wizard-progress .step {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #ddd;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

        .wizard-progress .step.active {
            background: #0B6B85;
            color: white;
        }

    .wizard-progress .line {
        width: 60px;
        height: 4px;
        background: #ddd;
    }

/* Card Styling */
#wizardContainer .card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Input Styling */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

    .form-control:focus, .form-select:focus {
        border-color: #0B6B85;
        box-shadow: 0 0 0 3px rgba(11,107,133,0.2);
    }

/* Labels */
.form-label {
    font-weight: 600;
    margin-bottom: 6px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg,#0B6B85,#14B1C6);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
}

    .btn-primary:hover {
        opacity: 0.9;
    }

/* Help Buttons */
.btn-outline-secondary {
    border-radius: 10px;
}

.section-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #0B6B85;
}
/* Make all TextBoxes and DropDowns larger */
#CreateUserWizard2 .form-control,
#CreateUserWizard2 .form-select {
    padding: 12px 15px; /* Increases height and clickable area */
    font-size: 1.1rem; /* Larger text for readability */
    border-radius: 8px; /* Modern rounded corners */
    border: 2px solid #dee2e6; /* Thicker borders for visibility */
    transition: border-color 0.3s, box-shadow 0.3s;
}

    /* Highlight the field when the user clicks/tabs into it */
    #CreateUserWizard2 .form-control:focus,
    #CreateUserWizard2 .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 8px rgba(13, 110, 253, 0.25);
        outline: none;
    }

/* Make labels stand out more */
#CreateUserWizard2 .form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
    font-size: 1rem;
}

/* Make the Wizard buttons (Next, Create, Finish) bigger */
#CreateUserWizard2 .btn-lg {
    padding: 12px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Spacing */
.row.g-3 {
    row-gap: 18px;
}
/* FORM SPACING */
.form-label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control {
    padding: 10px 12px;
    font-size: 15px;
}

.input-group {
    gap: 8px;
}

.faq-content {
    flex: 1; /* 🔥 fill remaining height */
    padding: 30px;
    overflow-y: auto;
}

/* TOP RIGHT CLOSE BUTTON */
.faq-header {
    position: relative;
}

.close-btn-top {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 8px 18px;
    font-size: 16px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

    .close-btn-top:hover {
        background: #e60000;
        transform: scale(1.05);
    }

.faq-content {
    padding: 25px;
    max-height: 65vh;
    overflow: auto;
}

.faq-btn {
    background: #ff3d3d;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}


.hero-section {
    text-align: center;
    margin-top: 30px;
}

/* Explore button */
.explore-btn {
    display: inline-block;
    background: #f1f3f5;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    margin-bottom: 20px;
}

/* Buttons container */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Glass buttons (base style) */
.glass-btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.2);
    color: white;
    transition: 0.3s;
}

/* Main button */
.main-btn {
    min-width: 260px;
}

/* Login button */
.login-btn {
    min-width: 120px;
}

/* Hover animation */
.glass-btn:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.35);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ===== GRIDVIEW1 FINAL STYLE ===== */

#GridView1 {
    border-collapse: collapse;
    width: 100%;
}

    /* HEADER */
    #GridView1 th {
        background: linear-gradient(135deg,#0B6B85,#14B1C6);
        color: white;
        padding: 12px;
        text-align: center;
    }
/* ===== SCROLL CONTAINER ===== */
.table-scroll {
    max-height: 500px; /* height control */
    overflow: auto;
    position: relative;
}

/* ===== TABLE ===== */
#GridView1 {
    border-collapse: collapse;
    width: 100%;
    min-width: 1500px; /* horizontal scroll */
}

    /* ===== HEADER STICKY ===== */
    /* ===== GRIDVIEW1 HEADER (same as GridView13) ===== */
    #GridView1 th {
        background: linear-gradient(90deg,#0f2027,#203a43,#2c5364) !important;
        color: white !important;
        font-weight: 600;
        text-align: center;
        padding: 12px;
    }

/* ===== FIRST COLUMN STICKY ===== */
/*vijay#GridView1 td:first-child,
    #GridView1 th:first-child {
        position: sticky;
        left: 0;
        z-index: 6;
        background: #1f252b !important;
        color: white;
        font-weight: bold;
    }*/
/* FIRST COLUMN SAME AS ROW */
/*vijay#GridView1 td:first-child {
        background: inherit !important;*/ /* row जैसा */
/*color: white;
    }
    #GridView1 td:first-child,
    #GridView1 th:first-child {
        position: sticky;
        left: 0;
        z-index: 6;
    }*/
/* SCROLL CONTAINER */
.table-scroll {
    height: 75vh;
    overflow: auto;
    position: relative;
}

/* STICKY HEADER */
#GridView1 thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(90deg,#0f2027,#203a43,#2c5364) !important;
}
/* header + first column overlap fix */
/*vijay#GridView1 thead th:first-child {
        z-index: 15;
    }*/
/* ===== GRIDVIEW1 BODY COLORS ===== */

/* Default rows */
#GridView1 tbody tr {
    background: linear-gradient(90deg,#1f6f8b,#2c8ca3) !important;
    color: white !important;
}

    /* Alternate rows */
    #GridView1 tbody tr:nth-child(even) {
        background: linear-gradient(90deg,#2c8ca3,#3fa6bf) !important;
    }

    /* Hover effect */
    #GridView1 tbody tr:hover {
        background: linear-gradient(90deg,#0d6efd,#3aa0ff) !important;
    }
    /* ===== ROW COLORS ===== */
    #GridView1 tbody tr:nth-child(odd) {
        background: #0f4c5c;
    }
/*#GridView1 td:first-child,
    #GridView1 th:first-child {
        background: #1f252b !important;
        color: white !important;
    }*/


/* ===== TEXT ===== */
#GridView1 td {
    color: white;
    padding: 10px;
}

/* ===== HOVER ===== */
#GridView1 tbody tr:hover {
    background: #1f8aa5;
}

/* ===== FIX OVERLAP ISSUE ===== */
#GridView1 th:first-child {
    z-index: 10; /* header + first column overlap fix */
}
/* ROW COLORS */
#GridView1 tbody tr:nth-child(odd) {
    background: #0f4c5c;
}

#GridView1 tbody tr:nth-child(even) {
    background: #136f8a;
}

/* TEXT */
#GridView1 td {
    color: white;
    padding: 10px;
}

/* HOVER */
#GridView1 tbody tr:hover {
    background: #1f8aa5;
}
/* ===== FIRST COLUMN STICKY (WITHOUT STYLE CHANGE) ===== */
/* FIRST COLUMN HEADER SAME AS HEADER */
#GridView1 thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 15;
    background: linear-gradient(90deg,#0f2027,#203a43,#2c5364) !important;
    color: white !important;
}

#GridView1 td:first-child,
#GridView1 th:first-child {
    position: sticky;
    left: 0;
    z-index: 6;
    background: inherit !important; /* 🔥 SAME AS ROW */
}
/* header + first column overlap */
#GridView1 thead th:first-child {
    z-index: 15;
}
/* ===== FIRST COLUMN DARKER ===== */
/*vijay#GridView1 td:first-child,
    #GridView1 th:first-child {
        position: sticky;
        left: 0;
        z-index: 6;
        background: linear-gradient(180deg,#0b0f14,#1a232c) !important;*/ /* darker */
/*color: #ffffff;
        font-weight: bold;
        border-right: 2px solid #ffffff33;*/ /* separation line */
/*}*/
/* ===== GRID LINES ===== */

/* vertical lines */
#GridView1 th,
#GridView1 td {
    border-right: 1px solid rgba(255,255,255,0.15);
}

    /* remove last column extra line */
    #GridView1 th:last-child,
    #GridView1 td:last-child {
        border-right: none;
    }

/* horizontal lines */
#GridView1 tbody td {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* header bottom line */
#GridView1 thead th {
    border-bottom: 2px solid #14B1C6;
}
/* Default row color */
#GridView13 tbody tr td {
    background: linear-gradient(90deg,#1f6f8b,#2c8ca3) !important;
    color: white !important;
}

/* Alternate rows */
#GridView13 tbody tr:nth-child(even) td {
    background: linear-gradient(90deg,#2c8ca3,#3fa6bf) !important;
}

/* Hover effect */
#GridView13 tbody tr:hover td {
    background: linear-gradient(90deg,#0d6efd,#3aa0ff) !important;
}

#GridView13.table-striped tbody tr {
    background: linear-gradient(90deg,#1f6f8b,#2c8ca3) !important;
    color: yellow !important;
}

/* Default rows */
#GridView13 tbody tr {
    background: linear-gradient(90deg,#1f6f8b,#2c8ca3);
    color: #ffffff;
    transition: all 0.25s ease;
}

    /* Alternate rows */
    #GridView13 tbody tr:nth-child(even) {
        background: linear-gradient(90deg,#2c8ca3,#3fa6bf);
    }

    /* Hover effect */
    #GridView13 tbody tr:hover {
        background: linear-gradient(90deg,#0d6efd,#3aa0ff);
        transform: scale(1.01);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
/* GridView13 rows */
#GridView13 tr {
    background: linear-gradient(90deg,#1f6f8b,#2c8ca3) !important;
    color: white !important;
}

    /* Alternate rows */
    #GridView13 tr:nth-child(even) {
        background: linear-gradient(90deg,#2c8ca3,#3fa6bf) !important;
    }

    /* Hover effect */
    #GridView13 tr:hover {
        background: linear-gradient(90deg,#0d6efd,#3aa0ff) !important;
        transform: scale(1.01);
    }

#GridView13 img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

    #GridView13 img:hover {
        transform: scale(1.15);
    }

/* Grid Header */
#GridView13 thead th {
    background: linear-gradient(90deg,#0f2027,#203a43,#2c5364);
    color: white;
    font-weight: 600;
    text-align: center;
    border: none;
    padding: 12px;
    letter-spacing: 0.5px;
}

/* Sticky Header */
#GridView13 thead th {
    position: sticky;
    top: 0;
    z-index: 5;
}
/* Row styling */
#GridView13 tbody tr {
    background: #f8fbfd;
    transition: all 0.25s ease;
}

    /* Alternate rows */
    #GridView13 tbody tr:nth-child(even) {
        background: #eef6fa;
    }

    /* Hover effect */
    #GridView13 tbody tr:hover {
        background: #d9edf7;
        transform: scale(1.003);
    }
/* Edit button */
.btn-edit {
    background: #ffc107;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}

/* Details button */
.btn-details {
    background: #17a2b8;
    border: none;
    color: white;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}

.highlight-row {
    background: linear-gradient(90deg,#0d6efd,#3aa0ff);
    color: white !important;
    font-weight: bold;
    border-top: 2px solid #ffffff55;
    border-bottom: 2px solid #ffffff55;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.25);
}

.glass-btn {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all .25s ease;
    cursor: pointer;
}

    .glass-btn:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,0.28);
        box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    }

.white-action-btn {
    background: white;
    color: black;
    border: 2px solid #222;
    border-radius: 18px;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: all .2s ease;
}

    .white-action-btn:hover {
        background: #f5f5f5;
        transform: translateY(-2px);
    }

.img-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.img-modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,.7);
    animation: zoomIn .3s;
}

@keyframes zoomIn {
    from {
        transform: scale(.7);
    }

    to {
        transform: scale(1);
    }
}

.img-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* zoomed image */

.img-modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,.6);
    animation: zoomIn .3s;
}

@keyframes zoomIn {
    from {
        transform: scale(.7);
    }

    to {
        transform: scale(1);
    }
}

/* close button */

.closeZoom {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: .2s;
}

    .closeZoom:hover {
        color: #14B1C6;
    }

#loggedUserRow {
    animation: highlightRow 1s ease-in-out infinite alternate;
}

@keyframes highlightRow {
    from {
        background-color: black;
    }

    to {
        background-color: #fff176;
    }
}

/* ---- Clean Info Ribbon ---- */
.info-ribbon {
    background: linear-gradient(90deg, #fff4b8, #fff8d4);
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    margin: 20px auto;
    width: 100%;
    max-width: 1100px;
    color: #333;
}

#adCarousel img {
    height: 280px;
    object-fit: contain;
    background: #000;
}
/* ---- Ad Carousel Consistent Height ---- */
#adCarousel .carousel-item img {
    height: 280px !important; /* PERFECT height */
    object-fit: contain !important; /* uniform look */
    border-radius: 12px;
}

/* ---- Wrap carousel in centered container ---- */
.carousel-container {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 15px;
}

/* ---- Heading Styling ---- */
.section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-top: 28px;
    color: #0a6478;
}

/* Grid container */
.grid-container {
    max-height: 110vh;
    overflow: auto;
    border-radius: 12px;
}

.my-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 14px;
}
    /* ---------- GRID HEADER ---------- */
    .my-table thead {
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

        .my-table thead th {
            background: linear-gradient(135deg,#0B6B85,#14B1C6);
            color: white;
            font-weight: 700;
            padding: 12px;
            text-align: center;
            border-bottom: 3px solid #14B1C6;
            letter-spacing: .4px;
        }

/* sticky header */

.grid-sticky thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* ---------- FIRST COLUMN (S.No) ---------- */
/* FIRST COLUMN (S.No) - same color as header */

.my-table th:first-child,
.my-table td:first-child {
    background: #1f252b !important;
    color: white !important;
    font-weight: 700;
    text-align: center;
}

/* sticky first column */

.grid-sticky th:first-child,
.grid-sticky td:first-child {
    position: sticky;
    left: 0;
    z-index: 9;
    background: #1f252b !important;
}

}

/* sticky first column */

.grid-sticky td:first-child,
.grid-sticky th:first-child {
    position: sticky;
    left: 0;
    z-index: 8;
}

/* ---------- ROW COLORS ---------- */

.my-table tbody tr:nth-child(odd) {
    background: #0f4c5c;
}

.my-table tbody tr:nth-child(even) {
    background: #136f8a;
}

/* hover effect */

.my-table tbody tr:hover {
    background: #1f8aa5;
    transition: .2s;
}

/* cells */
.my-table th,
.my-table td {
    border-right: 1px solid rgba(255,255,255,0.08);
}

.my-table tbody td {
    padding: 10px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.my-table th:last-child,
.my-table td:last-child {
    border-right: none;
}
/* ---------- HIGHLIGHT LOGGED USER ---------- */

/* Logged-in / selected row */

.highlight-row td {
    background: #0b0b0b !important;
    color: red !important;
    font-weight: 600;
}

    /* keep first column also black */

    .highlight-row td:first-child {
        background: red !important;
    }

/* subtle glow to indicate selection */

.highlight-row {
    background-color: #f8d7da !important; /* Light Red/Pinkish (Alert Style) */
    color: #842029 !important; /* Dark Red Text */
    border: 1px solid #f5c2c7;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
}

/* GLOW TEXT */
.glow-text {
    background: linear-gradient(90deg, #00ff99, #00ffcc, #00ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(0,255,150,0.6), 0 0 10px rgba(0,255,150,0.6), 0 0 20px rgba(0,255,150,0.8), 0 0 40px rgba(0,255,150,1);
    animation: glowPulse 2s infinite alternate;
}

/* ANIMATION */
@keyframes glowPulse {
    from {
        text-shadow: 0 0 5px rgba(0,255,150,0.5), 0 0 10px rgba(0,255,150,0.6), 0 0 20px rgba(0,255,150,0.7);
    }

    to {
        text-shadow: 0 0 10px rgba(0,255,150,0.8), 0 0 20px rgba(0,255,150,1), 0 0 40px rgba(0,255,150,1);
    }
}

/* ---------- GRID CONTAINER ---------- */

.grid-container {
    max-height: 110vh;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.my-table tbody tr:nth-child(even) {
    background: #136f8a;
}

.grid-scroll {
    overflow: auto;
    width: 100%;
    max-height: 600px;
}

.table-scroll {
    overflow: auto;
    max-height: 1000px; /* 🔥 increase height */
    height: 80vh;
}

.grid-sticky thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

.grid-sticky th:first-child,
.grid-sticky td:first-child {
    position: sticky;
    left: 0;
    background: #1f252b;
    z-index: 9;
}

.grid-sticky th:first-child {
    position: sticky;
    left: 0;
    background: #1e8a3b;
    color: white;
    z-index: 6;
}

.grid-sticky td:first-child {
    position: sticky;
    left: 0;
    background: #0b3b26;
    color: white;
    z-index: 4;
}
/* ===== GRIDVIEW1 HEADER (same as GridView13) ===== */
#GridView1 th {
    background: linear-gradient(90deg,#0f2027,#203a43,#2c5364) !important;
    color: white !important;
    font-weight: 600;
    text-align: center;
    padding: 12px;
}
/* ===== GRIDVIEW1 BODY COLORS ===== */

/* Default rows */
/*#GridView1 tbody tr {
    background: linear-gradient(90deg,#1f6f8b,#2c8ca3) !important;
    color: white !important;
}*/

/* Alternate rows */
#GridView1 tbody tr:nth-child(even) {
    background: linear-gradient(90deg,#2c8ca3,#3fa6bf) !important;
}

/* Hover effect */
#GridView1 tbody tr:hover {
    background: linear-gradient(90deg,#0d6efd,#3aa0ff) !important;
}
/* wrapper provides the scrolling viewport */
.table-scroll {
    max-height: 80vh; /* adjust height as needed */
    overflow: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    position: relative; /* required for sticky header to reference */
    max-height: 1000px; /* 🔥 increase height */
    height: 80vh;
}

.highlight-row {
    background: linear-gradient(90deg, #fff3cd, #ffeeba);
    animation: glowRow 1s ease-in-out infinite alternate;
    border-left: 5px solid #ff9800;
}

@keyframes glowRow {
    from {
        box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 152, 0, 1);
    }
}

body {
    background: #F5F7FA;
    font-family: 'Segoe UI',sans-serif;
}

/* HEADER */

.selova-fixed-header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.selova-box {
    background: #0B6B85;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.selova-logo {
    width: 80px;
}

.selova-link {
    color: white;
    text-decoration: none;
    display: block;
    font-weight: 600;
    margin-top: 5px;
}

/* HERO */

.hero {
    background: linear-gradient(135deg,#0B6B85,#14B1C6);
    color: white;
    padding: 120px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

    .hero h1 {
        font-size: 48px;
        font-weight: 800;
    }

    .hero p {
        max-width: 700px;
        margin: auto;
    }

/* ACTION CARDS */
/* ONLY MASTER PAGE BUTTONS */
.action-card {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* FORCE FIX */
.master-buttons .row {
    display: flex !important;
    align-items: stretch !important;
}

.master-buttons .col-md-4 {
    display: flex !important;
}

.action-card {
    width: 100% !important;
    min-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 20px !important;
}

.card-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}
/* FORCE FIX */
.master-buttons .row {
    display: flex !important;
    align-items: stretch !important;
}

.master-buttons .col-md-4 {
    display: flex !important;
}

.action-card {
    width: 100% !important;
    min-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 20px !important;
}

.card-content {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}

.action-card {
    background: red !important;
}
/* FORCE EQUAL HEIGHT */
.master-buttons .row {
    display: flex;
}

.master-buttons .col-md-4 {
    display: flex;
}

/* CARD DESIGN FIX */
.action-card {
    width: 100%;
    min-height: 140px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* INNER CONTENT ALIGNMENT */
.card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.master-buttons .row > div {
    display: flex;
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    min-height: 140px;
}

.master-buttons .row {
    align-items: stretch;
}

.master-buttons .action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border: 4px solid #ffffff; /* white border (hero bg पर perfect) */
    /*border: 2px solid rgba(255,255,255,0.8);*/
    border-radius: 16px;
    transition: all 0.3s ease;
}

    /* ICON */
    .master-buttons .action-card i {
        font-size: 28px;
        color: #0d6efd;
    }

    /* HOVER */
    .master-buttons .action-card:hover {
        border-color: #00ffcc;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        transform: translateY(-3px);
    }

    /* FOCUS */
    .master-buttons .action-card:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0,255,200,0.4);
    }
/* FORCE ALL ACTION CARDS */
button.action-card {
    border: 2px solid #000 !important;
    border-radius: 12px !important;
    background: #f8f9fa !important;
}

    /* Hover */
    button.action-card:hover {
        border-color: #0a58ca !important;
        box-shadow: 0 4px 15px rgba(13,110,253,0.2) !important;
    }

    /* Focus */
    button.action-card:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.3) !important;
    }
/*.action-card {
    border: 2px solid #0d6efd;*/ /* Bootstrap primary blue */
/*border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}*/

.action-card {
    background: #f1f3f5; /* light grey */
    border: 2px solid #0d6efd; /* strong blue */
    border-radius: 16px;
}
    /* Hover effect */
    .action-card:hover {
        border-color: #0a58ca;
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
        transform: translateY(-2px);
    }

    /* Focus (click) effect */
    .action-card:focus {
        outline: none;
        border-color: #0a58ca;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
    }

.action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
    background: #f8f9fa;
    /* 🔥 IMPORTANT */
    border: 2px solid #0d6efd !important;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* ICON */
    .action-card i {
        font-size: 28px;
        color: #0d6efd;
    }

    /* TEXT */
    .action-card strong {
        display: block;
        font-size: 16px;
    }

    .action-card div div {
        font-size: 14px;
        color: #555;
    }

    /* HOVER */
    .action-card:hover {
        border-color: #0a58ca;
        background: #eef4ff;
        transform: translateY(-2px);
    }

    /* FOCUS FIX */
    .action-card:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.3);
    }

.action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    transition: .25s;
    cursor: pointer;
    /*border: 2px solid #0B6B85;*/

    border: 5px solid red !important;
    border-radius: 15px;
}

    .action-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0,0,0,.12);
    }

    .action-card i {
        font-size: 28px;
        color: #0B6B85;
    }

/* PAYMENT */

.pay-card {
    max-width: 450px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* GRID */

.product-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

    .product-table th {
        background: #0B6B85;
        color: white;
    }

.comment-box {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,.05);
    margin-bottom: 10px;
}

.pink-card {
    background-color: #fdf2f8;
}
/* GridView edit mode fix */
#GridView13 td {
    min-width: 120px;
    white-space: normal !important;
}

/* Make inputs wider */
#GridView13 input[type="text"] {
    width: 100% !important;
    min-width: 120px;
}

/* Optional: bigger fields */
#GridView13 input[type="text"],
#GridView13 textarea {
    padding: 6px 8px;
    font-size: 14px;
}
