.remove-from-prescription {
    background-color: #fff !important;
    color: red !important;
    padding: 0 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    margin-left: 20px;
}


.favorite-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.favorite-product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background: #fff;
    transition: all 0.3s ease;
    padding: 10px;
}

.favorite-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.favorite-img img {
    width: 100%;
    border-radius: 8px;
}

.favorite-info {
    text-align: center;
    padding: 10px 0;
}

.favorite-title {
    font-size: 16px;
    margin: 8px 0 4px;
    font-weight: 600;
}

.favorite-price {
    font-size: 15px;
    color: #444;
    margin-bottom: 8px;
}

.filled-heart, .empty-heart {
    font-size: 20px;
    transition: color 0.3s ease;
}


.generate-pdf2 {
  background-color: #d90000 !important;
  color: white !important;
  border: none !important;
}

.clear_session {
    background-color: #fff !important;
    color: red !important;
    padding: 0 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
}

.prescription-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;
    overflow-y: auto;
    padding: 20px;
}

.prescription-modal .modal-content {
    background: #fff;
    width: 750px;
    max-width: 100%;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    margin: auto;
}

.prescription-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.prescription-modal .close-modal:hover {
    color: #ff0000;
}

.prescription-modal h2,
.prescription-modal h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.prescription-modal form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.prescription-modal input,
.prescription-modal select,
.prescription-modal textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s ease-in-out;
}

.prescription-modal input:focus,
.prescription-modal select:focus,
.prescription-modal textarea:focus {
    border: 1px solid #007bff;
}

.prescription-modal table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.prescription-modal table th,
.prescription-modal table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
}

.prescription-modal table th {
    background: #19772f;
    color: #fff;
}

.prescription-modal button.generate-final-prescription-btn {
    background: #19772f;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background 0.3s ease;
    text-align: center;
}

.prescription-modal button.generate-final-prescription-btn:hover {
    background: #0056b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Style the table and filters */
.prescription-filter {
    margin-bottom: 15px;
}

.prescription-filter input {
    padding: 5px;
    margin-right: 10px;
}

.prescription-filter button {
    padding: 7px 15px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.prescription-filter button:hover {
    background-color: #19772f;
}

table.dataTable {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ddd;
    
}



button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    margin: 2px;
    transition: 0.3s;
}

.generate-pdf {
    background-color: #28a745 !important;
    color: white !important;
}

.p-share-email {
    background-color: #007bff !important;
    color: white !important;
}

.p-share-whatsapp {
    background-color: #25d366 !important;
    color: white !important;
}

.prescription-filter {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.wd-my-account-sidebar {
    display: none !important;
}


/* Prescription Table css */

#doctor-prescriptions_wrapper,
.frs-table-wrapper,
.prescription-filter{
	overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;	
}

table#doctor-prescriptions {
    font-size: 13px;
    color: #000;
}

table#doctor-prescriptions thead,
#product-table thead{
    background-color: rgba(32, 118, 134, 1) !important;
}

table#doctor-prescriptions thead th,
#product-table thead th{
	color:#fff !important;
}

table#doctor-prescriptions th, table#doctor-prescriptions td,
#product-table th, #product-table td{
	text-align:center !important;
    border-bottom: 1px solid #ddd;
}

table#doctor-prescriptions td{
	padding:0 5px !important;
}


.create-prescription-link, .all-prescriptions-link, .wishlist-link, .customer-logout-link, .edit-profile-link{
/* 	display:none !important; */
}


.btn-icon {
	border:none !important;
}

.generate-pdf {
    background-color: #d90000 !important;
    color: white !important;
	border:none !important;
}


.frs-form-search-results{
	position: fixed;
    z-index: 400;
    bottom: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
}

button#generate-prescription {
    background: #48a858;
    width: 100%;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    padding: 10px;
}

#selected-products ol{
	font-size: 14px;
    background: #ebffeb;
    padding: 5px 20px;
}

#selected-products ol li{
	margin-bottom:0px;
}


#show-all-fav-products, #product-search-btn{
	background: #48a858;
	color:#fff;
	
}



.wd-dropdown-menu{
/* 	display:none ; */
}

body.role-doctor .wd-my-account-links,
body.role-doctor .woocommerce-MyAccount-navigation-link--edit-profile,
body.role-doctor .woocommerce-MyAccount-navigation-link--wishlist
{
    display: none !important;
}

body.role-wcfm_vendor .woocommerce-MyAccount-navigation-link--create-prescription,
body.role-wcfm_vendor .woocommerce-MyAccount-navigation-link--all-prescriptions,
body.role-wcfm_vendor .create-prescription-link,
body.role-wcfm_vendor .all-prescriptions-link,
body.role-wcfm_vendor .woocommerce-MyAccount-navigation-link--edit-profile,
body.role-wcfm_vendor .edit-profile-link,

body.role-subscriber .woocommerce-MyAccount-navigation-link--create-prescription,
body.role-subscriber .woocommerce-MyAccount-navigation-link--all-prescriptions,
body.role-subscriber .create-prescription-link,
body.role-subscriber .all-prescriptions-link,
body.role-subscriber .woocommerce-MyAccount-navigation-link--edit-profile,
body.role-subscriber .edit-profile-link,

body.role-customer .woocommerce-MyAccount-navigation-link--create-prescription,
body.role-customer .woocommerce-MyAccount-navigation-link--all-prescriptions,
body.role-customer .woocommerce-MyAccount-navigation-link--edit-profile,
body.role-customer .create-prescription-link,
body.role-customer .all-prescriptions-link,
body.role-customer .edit-profile-link
{
    display: none !important;
}


.woocommerce-MyAccount-content {
                width: 100% !important;
            }

            .wd-my-account-sidebar {
                display: none !important;
            }

            .woocommerce-MyAccount-content {
                max-width: 100% !important;
                width: 100% !important;
            }

            .woocommerce-MyAccount-content p:nth-of-type(2){
                display: none;
            }


















