* {
    margin: 0px;
    padding: 0px;
}

.editpet .container {
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

.edit-form {
    width: 40%;
}

.cancelbtn {
    border: 2px solid rgb(219, 215, 215);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cancelbtn:hover {
    background: rgb(219, 215, 215);
}

.close-button {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-bottom: 15px;
}

.cancelbtn i {
    font-size: 20px;
}

.editpet .container .edit-form .edit-form-head {
    display: flex;
    align-items: center;
}

.editpet .container .edit-form .edit-form-head .head-img {
    border-radius: 50%;
    object-fit: cover;
    width: 80px;
    background: #e5eaf0;
    margin-right: 16px;
}

.editpet .container .edit-form .edit-form-head .head-txt h1 {
    font-weight: 700;
    font-size: 2rem;
}

.editpet .container .edit-form .edit-form-head .head-txt a {
    font-weight: 700;
    font-size: 1rem;
    color: #7851A9;
}

.editpet .container .edit-form .edit-form-content {
    display: flex;
    flex-direction: column;
}

.editpet .container .edit-form .edit-form-content .add-cover button {
    padding: 10px 0px;
    background: none;
    display: flex;
    align-items: center;
    color: #7851A9;
    font-weight: 700;
    font-size: 0.9rem;
}

.editpet .container .edit-form .edit-form-content .add-cover button i {
    font-size: 20px;
    margin-right: 10px;
}

.editpet .container .edit-form .edit-form-content form .sub-head {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin: 15px 0px;
}

.editpet .container .edit-form .edit-form-content form .sub-head i {
    color: #121212;
    margin-right: 8px;
}

.editpet .container .edit-form .edit-form-content form .sub-head p {
    color: #121212;
    font-weight: 700;
}

.editpet .container .edit-form .edit-form-content form p {
    font-weight: 500;
}

.editpet .container .edit-form .edit-form-content form .checkbox {
    display: flex;
    align-items: center;
    height: 10px;
    margin-bottom: 10px;
}

.editpet .container .edit-form .edit-form-content form .checkbox p {
    margin-left: 10px;
}

.editpet .container .edit-form .edit-form-content form label {
    font-weight: 600;
    color: rgba(0, 0, 0, .8);
    font-size: 14px;
}

.editpet .container .edit-form .edit-form-content form input {
    height: 50px;
    padding: 0px 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1.5px solid #4d4d4d;
}

.editpet .container .edit-form .edit-form-content .form-input {
    width: 100%;
}

.form-sex {
    margin: 10px 0px;
}

.form-sex select {
    height: 50px !important;
    padding: 0px 10px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    border: 1.5px solid #4d4d4d !important;
}

select {
    height: 100px;
    overflow-y: auto;
}

.custom-dropdown-container {
    position: relative;
    /* Container for dropdown */
    margin-bottom: 20px;
    /* Add spacing between dropdowns */
    font-family: Arial, sans-serif;
}

.custom-dropdown-container .field-name {
    color: rgba(0, 0, 0, .8);
    font-weight: 500;
    font-size: 0.9rem;
}

.custom-dropdown {
    border: 1.5px solid #4d4d4d;
    border-radius: 10px;
}

.dropdown-header {
    display: flex;
    align-items: center;
    padding: 0px 10px;
}

.dropdown-input {
    height: 50px !important;
    border: none !important;
    /* Explicitly remove the border */
    outline: none !important;
    /* Explicitly remove the outline */
    box-shadow: none !important;
    /* Remove any default shadow effects */
    background-color: transparent;
    /* Ensure background is transparent */
    font-size: 16px;
    flex-grow: 1;
    /* Ensure it takes available space */
    padding: 0px !important;
    /* Optional: Adjust padding for better alignment */
}

.dropdown-icon,
.close-icon {
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    /* Place below the dropdown input */
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    /* Ensure it stays on top of other elements */
}

.dropdown-options.active {
    display: block;
}

.dropdown-options .options-head p {
    font-style: italic;
    background: #e3e3e3;
    padding: 5px;
}

.dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    display: none;
}

.dropdown-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.5);
    /* Increase checkbox size */
}

.dropdown-option:hover {
    background-color: #e1cff8;
}

.no-results {
    text-align: center;
    padding: 10px;
    color: #999;
    font-style: italic;
}

.editpet .container .edit-form .edit-form-foot .add-cover button {
    padding: 10px 0px;
    background: none;
    display: flex;
    align-items: center;
    color: #7851A9;
    font-weight: 700;
    font-size: 0.9rem;
}

.editpet .container .edit-form .edit-form-foot .add-cover button i {
    font-size: 20px;
    margin-right: 10px;
}

.edit-form-foot .foot-line {
    background: #ccc;
    height: 1px;
    margin: 20px 0px;
}

.edit-form-foot h1 {
    font-weight: 700;
    font-size: 25px;
}

.edit-form-foot p {
    font-weight: 400;
    font-size: 16px;
    color: #121212;
}

.edit-form-foot .foot-btn button {
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    background-color: #7851A9;
    color: white;
}

.edit-form-foot .foot-btn button:hover {
    background-color: #8258b6;
}

.edit-form-foot .a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.edit-form-foot .a a {
    color: #7851A9;
    font-weight: 700;
    font-size: 16px;
}

.edit-form-foot .a a:hover {
    color: #8b60bf;
}

/* Responsive Styles */
@media (max-width: 1000px) {
    .edit-form {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .edit-form {
        width: 60%;
    }
}

@media (max-width: 650px) {
    .edit-form {
        width: 70%;
    }
}

@media (max-width: 550px) {
    .edit-form {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .edit-form {
        width: 90%;
    }
}

@media (max-width: 420px) {
    .edit-form {
        width: 100%;
    }
}

/* form-fix */
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    /* Initially hidden */
}

.dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    position: relative;
    transition: background-color 0.3s;
}

.dropdown-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.5);
}

.dropdown-option:hover {
    background-color: #e1cff8;
}

.no-results {
    text-align: center;
    padding: 10px;
    color: #999;
    font-style: italic;
}