.form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

h2 {
    margin-bottom: 20px;
    color: #333333;
}

#forms {
    display: flex;
    flex-direction: column;
}

#forms label {
    margin-bottom: 5px;
    color: #666666;
}

#forms input, select, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333333;
}

#forms input:focus, select:focus {
    border-color: #166d16;
    outline: none;
}

#forms button {
    padding: 10px 15px;
    background-color: #226e2a;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#forms button:hover {
    background-color: #225e28;
}

/* Media Query for Mobile Devices */
@media (max-width: 600px) {
    .form-container {
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .form-container h2 {
        font-size: 24px;
    }

    #forms input, select, button, textarea {
        font-size: 14px;
        padding: 8px;
    }

    #forms  button {
        padding: 8px 10px;
    }
}


/*new update form */


.formshoww{
    background: #fff;
    position: fixed;
    top: 10vh;
    display: none;
}

/* Select input styling */
#plan_select {
    display: none;
    position: fixed;
    top: 10vh;
    width: 100%;
    max-width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    -webkit-appearance: none;  /* Remove default styling in webkit browsers */
    -moz-appearance: none;     /* Remove default styling in Firefox */
    appearance: none;          /* Remove default styling in modern browsers */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="none" stroke="gray" stroke-width=".5" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px 10px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus state styling */
#plan_select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* Option styling */
#plan_select option {
    padding: 10px;
}

.test{
	margin: 10px;
	color: black;
	font-weight: bold;
	border-radius: 10px;
	box-shadow: 2px 4px 10px black;
	padding: 10px;
	background-color: white; 
    cursor: pointer;
}

#dbb-update {
    display: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #186a23;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase; /* Optional: makes the text uppercase */
}

/* Hover state styling */
#dbb-update:hover {
    background-color: #2eb44b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Focus state styling */
#dbb-update:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(10, 208, 33, 0.5);
}

/* Active state styling */
#dbb-update:active {
    background-color: #048500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) inset;
}

/*lead card */


    .contlead{
       
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
         transform: translatex(-30px);
        justify-content: center;
        align-items: left;
    }
    /* Lead card styling */
    .lead-card {
        
        background: linear-gradient(145deg, #f7f7f7, #e6e6e6);
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
        width: calc(20% - 45px);
        overflow: hidden;
        transition: transform 0.2s ease-in-out;
        margin: 30px;
    }
    
    .lead-card:hover {
        transform: scale(1.05);
    }
    
    /* Lead header styling */
    .lead-header {
        background: linear-gradient(135deg, #176318, #25fc37);
        padding: 20px;
        color: white;
        text-align: center;
    }
    
    .lead-name {
        font-size: 24px;
        font-weight: 600;
        margin: 0;
        color: white;
    }
    
    /* Lead body styling */
    .lead-body {
        padding: 20px;
    }
    
    .lead-info {
        color: #555;
        margin: 10px 0;
        font-size: 16px;
    }

    .leadbtn {
    background: linear-gradient(145deg, #76b852, #8DC26F);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.leadbtn:hover {
    background: linear-gradient(145deg, #8DC26F, #76b852);
    transform: scale(1.05);
}

.leadbtn:active {
    transform: scale(0.95);
}
    
    .lead-info strong {
        color: #333;
    }



/* Container styling */
.leadsdata{
    display: none;
}


.btncont {
    display: flex; /* Aligns buttons in a row */
    justify-content: center; /* Centers the buttons */
    gap: 15px; /* Adds space between the buttons */
    margin: 20px 0; /* Adds vertical margin */
}

/* Button styling */
.LeadsBTN {
    background-color: #4CAF50; /* Green background */
    border: none; /* Removes default border */
    color: white; /* White text color */
    padding: 15px 30px; /* Adds padding */
    text-align: center; /* Centers text */
    text-decoration: none; /* Removes underline */
    display: inline-block; /* Makes the element inline-block */
    font-size: 16px; /* Sets font size */
    border-radius: 12px; /* Rounds the corners */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
    cursor: pointer; /* Changes cursor to pointer */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds shadow */
}

.LeadsBTN:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Active button styling */
.LeadsBTN:active {
    background-color: #3e8e41; /* Even darker green on click */
    box-shadow: 0 5px #666; /* Adds shadow on click */
    transform: translateY(4px); /* Moves button down on click */
}



    @media (max-width : 600px){
        .contlead{
        display: flex;
        flex-direction: column;
    }

    .lead-card {
        
        background: linear-gradient(145deg, #f7f7f7, #e6e6e6);
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
        width: 300px;
        overflow: hidden;
        transition: transform 0.2s ease-in-out;
        margin: 30px;
    }
    }


.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #0073aa;
    background: #f1f1f1;
    border-radius: 5px;
}

.pagination a.active {
    background: #0073aa;
    color: white;
}

.pagination a:hover {
    background: #ddd;
}

.venUL{
	background: green ;
}
