.wp-block-post-content {
    padding: 15px !important;
}

.woocommerce-dashboard .woocommerce-MyAccount-content{
    text-align: center;
}

.dashboard-create-prescription-button {
    text-align: center;
    padding: 20px 0;
    border-radius: 0 !important;
}

.dashboard-create-prescription-button .create-new-prescription{
    font-size: 16px;
    font-weight: 300;
    min-height: 40px;
}


.dashboard-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.dashboard-button, 
.create-new-prescription{
    background-color: black !important;
    border: 1px solid black !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.create-new-prescription{
    width: 100%;
}

.dashboard-box {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    text-align: center;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 350px;
}

.dashboard-box-content{
    padding: 10px 0;
}

.dashboard-box h3 {
    margin: 0px;
}

.dashboard-box .button {
    display: inline-block;
    padding: 8px 12px;
    background: #0071a1;
    color: white;
    text-decoration: none;
    border-radius: 0;
    
}

.dashboard-box .button:hover {
    background: #005f87;
}

.woocommerce-MyAccount-content-wrapper p:nth-child(-n + 3) {
    display: none;
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 900px) {
    .dashboard-sections {
        grid-template-columns: 1fr !important;
    }
    .woocommerce-MyAccount-content{
        padding: 0 !important;
        
    }
    .woocommerce-MyAccount-navigation ul{
        margin: 0 0 10px 0 !important;
    }
    .woocommerce-MyAccount-content-wrapper{
        border: none !important;
    }
}

.my-dashboard-header h2{
    margin: 0 0 10px 0 !important; 
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
    .dashboard-sections {
        grid-template-columns: 1fr;
    }
    .dashboard-button, 
.create-new-prescription{
        padding: 8px 16px !important;
}
    
    .dashboard-box {
        height: auto; /* Remove fixed height for flexibility */
        padding: 15px; /* Slightly reduce padding */
    }
    
    .dashboard-box .button {
        padding: 10px 15px;
        font-size: 16px;
    }
}

.dashboard-box-title{
    margin: 0 !important;
}

.wp-block-post-title{
    display: none;
}


.woocommerce-dashboard .woocommerce-MyAccount-content p{
    display: none;
}