﻿body {
    margin: 0 !important;
    padding: 0 !important;
    /*background: #f5f7fb;*/
}

:root{ --accent1:#0b63ff; --accent2:#0066ff; --muted:#6b7280; }
html,body{ height:100%; width:100%; margin:0; font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; background:#fff; }
/* full-bleed app container */
.screen { width:100vw; height:100vh; box-sizing:border-box; padding:18px 14px; display:flex; flex-direction:column; align-items:center; background:#fff; }

/* top progress */
.progress-bars { width:100%; display:flex; justify-content:center; gap:12px; margin-top:6px; margin-bottom:8px; }
.prog { height:6px; width:84px; background:#eee; border-radius:6px; }
.prog.active{ background:var(--accent1); width:112px; box-shadow:0 8px 18px rgba(11,99,255,0.18); }

/* slides area */
.slides { width:100%; height:calc(100% - 130px); position:relative; overflow:hidden; }
.slides-inner { width:calc(3 * 100vw); height:100%; display:flex; transition:transform .45s cubic-bezier(.22,.9,.3,1); }
.slide { width:100vw; min-width:100vw; height:100%; padding:6px 12px; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; text-align:center; }

/* stacked images */
.cards-wrap { width:100%; max-width:420px; height:280px; position:relative; margin-top:6px; margin-bottom:48px; display:flex; align-items:center; justify-content:center; }
.bg-shape{ position:absolute; left:50%; top:36px; transform:translateX(-50%); width:220px; height:150px; border-radius:26px; z-index:0; }
.card { position:absolute; left:50%; top:16px; transform:translateX(-50%); width:170px; height:190px; border-radius:18px; overflow:hidden; border:6px solid rgba(255,255,255,0.95); box-shadow:0 14px 36px rgba(2,6,23,0.12); background:#ddd; z-index:2; }
.card.small{ width:150px; height:170px; border-radius:16px; }
.card img{ width:100%; height:100%; object-fit:cover; display:block; }

/* lite card look */
.card.c { opacity:.56; filter:saturate(.92) contrast(.95); transform:translateX(-50%) translateY(56px) rotate(-8deg) scale(.92); z-index:2; box-shadow:0 10px 24px rgba(2,6,23,.08); }

/* per-slide positions (center baseline + offsets) */
.s1 .bg-shape{ background:linear-gradient(90deg,#eaf6ff,#ffffff); }
.s1 .card.a{ transform:translateX(-50%) translateY(-8px) rotate(-16deg); z-index:4; }
.s1 .card.b{ transform:translateX(-50%) translateY(24px) rotate(10deg); z-index:5; }
.s1 .card.c{ transform:translateX(-50%) translateY(56px) rotate(-8deg) scale(.92); }

.s2 .bg-shape{ background:linear-gradient(90deg,#fff5ea,#ffffff); }
.s2 .card.a{ transform:translateX(-50%) translateY(-6px) rotate(-12deg); z-index:4; }
.s2 .card.b{ transform:translateX(-50%) translateY(16px) rotate(8deg); z-index:5; }
.s2 .card.c{ transform:translateX(-50%) translateY(56px) rotate(2deg) scale(.92); }

.s3 .bg-shape{ background:linear-gradient(90deg,#fff7d9,#ffffff); }
.s3 .card.a{ transform:translateX(-50%) translateY(-6px) rotate(-18deg); z-index:4; }
.s3 .card.b{ transform:translateX(-50%) translateY(28px) rotate(6deg); z-index:5;object-fit: cover;}
.s3 .card.c{ transform:translateX(-50%) translateY(56px) rotate(-8deg) scale(.92); }

/* text */
.title { margin-top:8px; font-size:24px; font-weight:700; color:#0f172a; line-height:1.15; max-width:92%; }
.desc { margin-top:10px; font-size:13px; color:var(--muted); line-height:1.6; max-width:92%; }

/* button */
.actions { width:100%; padding:12px 12px; display:flex; justify-content:center; align-items:center; }
.btn-primary.custom { width:100%; max-width:360px; padding:14px 18px; border-radius:12px; font-weight:600; box-shadow:0 12px 26px rgba(11,99,255,.18); }

@media (max-width:420px){ .title{ font-size:22px; } .cards-wrap{ height:260px; } }

#dashboard {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/*mobile step*/
#mobileStep .input-group-text,
#mobileStep input {
    height: 55px;
    font-size: 1rem;
}

#mobileStep button.btn-primary {
    background-color: #0066ff !important;
    border: none !important;
}

/*Otp modal*/
.otp-box {
    width: 55px;
    height: 48px;
    font-size: 20px;
    border-radius: 10px;
    border: 1.5px solid #e6e6e6;
}

    .otp-box:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 0.15rem rgba(13,110,253,.25) !important;
    }

.modal-backdrop {
    display: none !important;
}

    .modal-backdrop.show {
        opacity: 0 !important;
    }

/*farmer profile*/

.profile-input {
    border-radius: 14px !important;
    height: 50px;
    background: white;
    border: 1px solid #e6e6e6 !important;
}

.accordion-button {
    border-radius: 14px !important;
}

.accordion-body {
    padding: 12px !important;
}

.profile-input:focus {
    box-shadow: 0 0 0 .1rem rgba(13, 110, 253, 0.2);
}

input::placeholder {
    color: #b8b8b8 !important;
}

.shadow-sm {
    box-shadow: 0px 1px 4px rgba(0,0,0,0.1) !important;
}
.fixed-btn {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    padding: 14px 0;
    z-index: 999;
    border-radius: 12px;
}


/*terms and conditions css*/
/* Page wrapper to center mobile mockup */
.screen-wrap {
    max-width: 420px; /* mimic a phone width */
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    padding: 18px 18px 90px; /* bottom space to not hide content behind sticky button */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #0f1724;
}

/* Back icon */
.back-btn {
    color: #111827;
    font-size: 18px;
    margin-bottom: 8px;
    cursor: pointer;
}

/* Step circle with green ring */
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #14A44D; /* green ring color */
    background: #ffffff;
    box-shadow: 0 2px 0 rgba(20,164,77,0.06) inset;
    flex-shrink: 0;
}

    .step-circle span {
        color: #14A44D;
        font-weight: 700;
        font-size: 13px;
    }

/* Title block */
.title-block {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

    .title-block h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #111827;
    }

    .title-block small {
        display: block;
        color: #6b7280;
        font-size: 13px;
        margin-top: 2px;
    }

/* Terms card */
.terms-card {
    background: #eef8ff; /* pale blue card */
    border-radius: 18px;
    padding: 22px;
    position: relative;
    box-shadow: 0 6px 20px rgba(2,6,23,0.04);
    overflow: hidden;
}

    /* decorative top-left icon container inside card */
    .terms-card .icon-wrap {
        width: 84px;
        height: 140px;
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(242,248,255,0.9), rgba(234,246,255,0.9));
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

        .terms-card .icon-wrap i {
            font-size: 34px;
            color: #9fbfe9;
        }

/* paragraph text style inside card */
.terms-text {
    color: #334155;
    font-size: 13px;
    line-height: 1.75;
    margin: 0;
}

/* large inner rounded corner visual (subtle) */
.terms-card::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 160px;
    height: 160px;
    border-radius: 28px;
    background: rgba(255,255,255,0.4);
}

/* Sticky bottom Accept button (with safe-area support) */
.bottom-accept {
    position: fixed;
    left: 0;
    right: 0;
    bottom: constant(safe-area-inset-bottom); /* iOS <11.2 */
    bottom: env(safe-area-inset-bottom); /* iOS */
    display: flex;
    justify-content: center;
    z-index: 999;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0));
    pointer-events: none; /* allow only button to be clickable */
}

    .bottom-accept .btn {
        pointer-events: auto;
        width: calc(100% - 36px);
        max-width: 360px;
        border-radius: 12px;
        height: 50px;
        background: linear-gradient(180deg,#1064ff,#0b55e6);
        border: none;
        color: #fff;
        font-weight: 600;
        box-shadow: 0 12px 30px rgba(11,85,230,0.18);
    }

        .bottom-accept .btn:active {
            transform: translateY(1px);
        }

/* spacing tweak when page is tall */
.spacer {
    height: 22vh;
}

/* Responsive text, smaller screens adjust padding */
@media (max-width: 380px) {
    .screen-wrap {
        padding: 14px 14px 110px;
    }

    .terms-card {
        padding: 18px;
        border-radius: 16px;
    }

        .terms-card .icon-wrap {
            width: 70px;
            height: 70px;
        }

    .step-circle {
        width: 44px;
        height: 44px;
    }
}

/*dashboard css*/

.dash-tile {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #f0f0f0;
}

.dash-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light color backgrounds */
.bg-primary-light {
    background: #e7f1ff;
}

.bg-danger-light {
    background: #ffece5;
}

.bg-warning-light {
    background: #fff7dd;
}

.bg-success-light {
    background: #e8ffef;
}
/*operation cards css*/
.op-box {
    border-radius: 14px;
    padding: 18px 20px;
    background: #f0f7ff; /* blue */
    min-height: 95px;
}

.op-box2 {
    background: #e8f7e6;
}
/* green */
.op-box3 {
    background: #fff6d8;
}
/* yellow */
.op-box4 {
    background: #fde8ec;
}
/* pink */
.op-box5 {
    background: #e6f9ef;
}
/* mint green */
.op-box6 {
    background: #fff5e1;
}
/* light peach */

.op-value {
    font-size: 22px;
    font-weight: 700;
    margin-top: 5px;
}

.op-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.op-card {
    border-radius: 18px;
    background: white;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/*sites list*/
.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background: #e7f1ff;
}

.bg-warning-light {
    background: #fff6d9;
}

.site-card {
    border: 1px solid #f1f1f1;
    background: #ffffff;
}

.modal-content {
    overflow: visible !important;
    border-radius: 20px !important;
}

    .modal-content .modal-body,
    .modal-content .p-3 {
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
    }

.form-control,
.form-select {
    /* height: 48px; */
    border-radius: 14px !important;
}

.pond-card {
    background: #fff;
    border-radius: 14px;
}

.pond-icon {
    width: 40px;
    height: 40px;
    background: #FFF3E8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-badge {
    background: #1E90FF;
    color: #fff;
    border-radius: 12px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
}

/*bottom nav*/

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* Floating center button */
.fab {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

    /* Force icon to stay white */
    .fab i {
        color: #fff !important;
    }

/* Icon + text */
.nav-item-custom {
    text-align: center;
    flex: 1;
    font-size: 12px;
    color: #777;
}

    .nav-item-custom i {
        display: block;
        font-size: 20px;
        margin-bottom: 4px;
    }

.active-nav {
    color: #0d6efd !important;
}

/*Bottom Sheet*/
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transition: bottom 0.35s ease-in-out;
    z-index: 1001;
    padding: 20px;
    max-height: 85vh;
    overflow-y: auto;
}

    .bottom-sheet.active {
        bottom: 0;
    }

.sheet-content .handle {
    width: 45px;
    height: 5px;
    background: #d0d0d0;
    border-radius: 5px;
    margin: 0 auto 15px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #e7f1ff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-size: 20px;
    color: #3b82f6;
}

.icon-text {
    font-size: 13px;
    margin-top: 6px;
}

.sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    z-index: 1000;
}

    .sheet-backdrop.active {
        display: block;
    }

/*Bottom Sheet ends*/

/*Site Details Section starts*/
.header {
    background: #fff;
}

.main-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.06);
}

.farm-icon {
    width: 54px;
    height: 54px;
    background: #0066ff;
    border-radius: 16px;
    color: #fff;
    font-size: 26px;
}

.active-pill {
    background: #0066ff;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}


/* Stats cards */

.stats-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 6px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.05);
    min-height: 110px;
}

.stats-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 20px;
}

.label {
    color: #6c757d;
    font-size: 13px;
}

.value {
    font-weight: 600;
    margin-top: 2px;
}

/* Soft pastel icon backgrounds */
.bg-blue-light {
    background: #e9f2ff;
}

.bg-orange-light {
    background: #fff4e8;
}

.bg-yellow-light {
    background: #fff9da;
}

.bg-green-light {
    background: #e9ffe9;
}
/*Site summary styles*/
/* Site Summary styles */
.summary-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.summary-item {
    text-align: center;
    padding: 10px 0;
}

.summary-divider {
    border-right: 1px solid #e5e7eb;
}

.summary-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 22px;
}

.bg-blue-light {
    background: #e8f2ff;
    color: #3b82f6;
}

.bg-yellow-light {
    background: #fff5d9;
    color: #f59e0b;
}

.bg-green-light {
    background: #e8ffe9;
    color: #10b981;
}

.summary-label {
    font-size: 13px;
    color: #6b7280;
}

.summary-value {
    font-weight: 700;
    font-size: 16px;
    margin-top: 4px;
}


/*.stats-card {
    background: #fff;
    padding: 15px;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.stats-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f2f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
}*/

/* Section Title */
/*.section-title {
    font-weight: 600;
    margin-left: 12px;
    margin-top: 14px;
    margin-bottom: 6px;
}*/

/* Pond card */
.pond-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 14px;
}

.pond-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff0e9;
    color: #ff6f61;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 10px;
}

.pond-pill {
    background: #257CFF;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.pond-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
}

.pond-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.pond-label {
    font-size: 12px;
    color: #6b7280;
}

.pond-value {
    font-size: 14px;
    font-weight: 600;
}
/*Sites Deatils Section ends*/

/*POnds Detail section starts*/
.stats-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: left;
    height: 100%;
}

.stats-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #257CFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 2px;
}

.stats-value {
    font-size: 16px;
    font-weight: 600;
}

body {
    background: #f6f7fa;
}
/*tables css*/
.custom-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E6ECF3;
}

    .custom-table thead,
    .custom-table thead th {
        background-color: #EAFAFA !important; /* exact match */
        color: #4B5563 !important;
        font-weight: 600 !important;
    }

    .custom-table td {
        padding: 12px;
        font-size: 14px;
        color: #1F2937;
    }

.section-title {
    font-weight: 600;
    margin: 20px 0 10px;
}

/*POnd details section ends*/

/*Button fixed starts*/
.fixed-button {
    position: fixed;
    bottom: 20px; /* distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 35%; /* adjust as needed */
    z-index: 9999; /* stays above other elements */
}

/*Button fixed ends*/

/*Farmer profile top bar section starts*/
.progress-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#1ec96b 0% 25%, #e6f3ff 25% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-inner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #444;
}

/* Responsive Text Scaling */
@media (max-width: 576px) {
    .progress-circle {
        width: 40px;
        height: 40px;
    }

    .circle-inner {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    h6 {
        font-size: 16px;
    }

    small {
        font-size: 14px;
    }
}

/*Farmer profile top bar section ends*/

/*quick show css starts*/
.quick-box {
    border: 1px solid #e9eef4;
    border-radius: 12px;
    background: #fff;
}

.icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bg-blue {
    background: #e7f4ff;
    color: #4aa8ff;
}

.bg-yellow {
    background: #fff8e3;
    color: #f2c44c;
}

.bg-green {
    background: #e5f8ef;
    color: #4bc685;
}

.title {
    font-size: 12px;
    color: #6c757d;
}

.value {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
}

/* ----- Responsive for mobile ----- */
@media (max-width: 576px) {
    .quick-box {
        padding: 10px !important;
    }

    .icon-wrapper {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .value {
        font-size: 14px;
    }
}

/*quick show css ends*/

/*terms and condition box css*/

.consent-card {
    max-width: 420px;
    background: #f2faff;
    border-radius: 20px;
    text-align: center;
}

.icon-box {
    width: 110px;
    height: 110px;
    background: rgba(255,255,255,0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-inner {
    width: 65px;
    height: 65px;
    background: #ffffff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #5bc17a;
    font-weight: bold;
}

/* Text styling */
.consent-text {
    text-align: left;
    line-height: 1.6;
    font-size: 14px;
    color: #4a4a4a;
}

/* --- Responsive scaling --- */
@media (max-width: 576px) {
    .icon-box {
        width: 90px;
        height: 90px;
    }

    .icon-inner {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .consent-text {
        font-size: 13px;
    }
}

/*terms and condition box css ends*/
/*charts css starts*/

/*.chart-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: auto;
}

canvas {
    width: 100% !important;
    height: auto !important;
}*/

/*charts css end*/