﻿/* =========================================================
   FARMER REGISTRATION PAGE UI
   File : FarmerRegistration.css
========================================================= */


/* ===============================
   PAGE TITLE
================================ */

.page-title {
    background: #166534;
    color: #ffffff;
    padding: 18px 25px;
    border-radius: 18px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}


    .page-title i {
        background: white;
        color: #198754;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
    }



/* =========================================================
   FORM CARD
========================================================= */


.form-card {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 15px;
}



    .form-card .card-header {
        background: #166534!important;
        color: white !important;
        padding: 16px 22px !important;
        font-size: 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
    }



        .form-card .card-header:before {
            content: "\f2bb";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-right: 12px;
        }




    .form-card .card-body {
        padding: 16px !important;
        background: white;
    }



/* =========================================================
   LABEL DESIGN
========================================================= */


.form-label-custom {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}



.required {
    color: #dc2626;
}




/* =========================================================
   INPUT DESIGN
========================================================= */


.form-card .form-control,
.form-card .form-select {
    height: 44px;
    border-radius: 12px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff;
    padding: 8px 14px;
    font-size: 14px;
    transition: .3s;
}



    .form-card .form-control:hover,
    .form-card .form-select:hover {
        border-color: #22c55e !important;
    }



    .form-card .form-control:focus,
    .form-card .form-select:focus {
        border-color: #198754 !important;
        box-shadow: 0 0 0 .25rem rgba(25,135,84,.15) !important;
    }




    /* Disabled / readonly fields */


    .form-card .form-control:disabled,
    .form-card .form-control[readonly] {
        background: #f0fdf4 !important;
        color: #166534;
        font-weight: 600;
    }



/* =========================================================
   SEARCH + OTP SECTION
========================================================= */


#dvSearch,
#divOTP {
    border-left: 5px solid #22c55e;
}




    #dvSearch .btn,
    #divOTP .btn {
        border-radius: 12px !important;
        padding: 10px 25px !important;
        font-weight: 600;
        transition: .3s;
    }



        #dvSearch .btn:hover,
        #divOTP .btn:hover {
            transform: translateY(-2px);
        }




    #dvSearch .btn-danger {
/*        background: linear-gradient(135deg,#15803d,#22c55e) !important;*/
        background-color: #15803d !important;
        border: none;
    }



    #dvSearch .btn-primary,
    #divOTP .btn-primary {
        /*        background: linear-gradient(135deg,#334155,#475569) !important;*/
        background-color: #475569 !important;
        border: none;
    }



/* =========================================================
   RADIO BUTTON
========================================================= */


.clsradio {
    display: flex;
    align-items: center;
    gap: 25px;
}



    .clsradio input[type=radio] {
        transform: scale(1.4);
        accent-color: #198754;
    }



    .clsradio label {
        font-weight: 600;
        color: #166534;
    }



/* =========================================================
   NOTE BOX
========================================================= */


.form-card ul {
    background: #fff7ed;
    border-left: 5px solid #f97316;
    padding: 15px 25px;
    border-radius: 12px;
}



    .form-card ul li {
        color: #c2410c !important;
        font-weight: 600;
        font-size: 14px;
    }




/* =========================================================
   GRID VIEW
========================================================= */


.custom-gridview {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}



    .custom-gridview th {
        /*        background: linear-gradient(135deg,#065f46,#16a34a) !important;*/
/*        background: #065f46 !important;*/
        background-color: #166534 !important;
        color: white !important;
        padding: 12px !important;
        text-align: center;
        font-size: 13px;
    }



    .custom-gridview td {
        background: #fff;
        /*padding: 10px !important;*/
        vertical-align: middle;
    }



    .custom-gridview tr:hover td {
        background: #ecfdf5 !important;
    }



    .custom-gridview .form-control,
    .custom-gridview .form-select {
        height: 38px;
        font-size: 13px;
    }



/* =========================================================
   ADD MORE BUTTON
========================================================= */


#btnAddmore,
#btnAddmoreGR {
    width: auto !important;
    border-radius: 25px !important;
    padding: 10px 25px !important;
}



/* =========================================================
   DOCUMENT UPLOAD
========================================================= */


input[type=file] {
    background: #f0fdf4;
    border: 2px dashed #22c55e !important;
    border-radius: 12px !important;
    padding: 8px;
}



    input[type=file]:hover {
        background: #dcfce7;
    }



/* =========================================================
   SUBMIT AREA
========================================================= */


#dvbtnREG {
    border-left: 5px solid #198754;
}



#btnSubmit {
    min-width: 220px;
    padding: 14px 50px !important;
    border-radius: 30px !important;
    font-size: 18px;
    font-weight: 700;
 /*   background: linear-gradient(135deg,#15803d,#22c55e) !important;*/
     background-color: #166534;
    border: none !important;
}



/* =========================================================
   RESPONSIVE
========================================================= */


@media(max-width:768px) {


    .page-title {
        font-size: 18px;
        padding: 15px;
    }



    .form-card .card-body {
        padding: 15px !important;
    }



    #btnSubmit {
        width: 100%;
    }
}
.section-title {
    background: #f0fdf4;
    color: #166534;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    border-left: 5px solid #22c55e;
}


    .section-title i {
        margin-right: 8px;
    }


.form-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


    .form-card .card-body {
        padding: 30px;
    }


    .form-card label {
        font-weight: 600;
        color: #374151;
    }


hr {
    border-top: 1px dashed #d1d5db;
}
