/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .bevi-dashboard-container {
    padding: 20px 16px 16px;
    /* border-color: #6e99d2 #d7d7d7 #d7d7d7; */ 
    border-color: #6e99d2 #d7d7d7 #d7d7d7;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 6px;
    background-color: #ffffff;
    margin-bottom: 20px;
    width: 100%;
}
.bevi-dashboard-subcontainer {
    padding: 20px 16px 16px;
    border-color: #d7d7d7;
    border-style: solid;
    border-width: 1px;
    border-radius: 6px;
    background-color: #ffffff;
}
.bevi-dashboard-field {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.bevi-dashboard-label {
    box-sizing: border-box;
    padding: 2px;
    width: 30%;
}
.bevi-dashboard-value {
    box-sizing: border-box;
    padding: 2px;
    width: 70%;
    color: #000;
}
@media (max-width: 480px) {
    .bevi-dashboard-label, .bevi-dashboard-value {
        width: 100%;
    }
}


.bevi-dashboard-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.bevi-dashboard-row {
    display: flex;
    /* border-bottom: 2px solid #000; */
    margin-bottom: 2px;
}


.bevi-dashboard-column {
    /* flex: 1; / * Makes each column take equal width */
    display: table-cell;
    padding: 2px 1px;
    border: 0px solid #ccc;
    text-align: left;
    width: 20%;  /* Set the width of each of the last 3 columns to equally split the remaining 75% */
}
.bevi-dashboard-column-1 {
    width: 40%; /* Set the width of the first column to 25% */
}
.bevi-dashboard-column-blank {
    display: table-cell;
    padding: 2px 10px 2px 0px;
    border: 0px solid #ccc;
    text-align: left;
    width: 10px;   /* Set the width of each of the last 3 columns to equally split the remaining 75% */
}
.bevi-dashboard-column-auto-sub {
    /* flex: 1; / * Makes each column take equal width */
    display: table-cell;
    padding: 2px 1px;
    border: 0px solid #ccc;
    text-align: left;
    width: 20%;  /* Set the width of each of the last 3 columns to equally split the remaining 75% */
    /* display: flex;          Enable flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    height: 100%;            /* Set a height (adjust as needed) */
}

/* Added styles for cursor */
.bevi-dashboard-column-blank:hover .bevi-dashboard-column-1:hover{
    cursor: default; /* This sets the cursor to the arrow pointer when hovering over the element */
}

.header .bevi-dashboard-column {
    font-weight: bold;
    background-color: #f5f5f5;

    display: flex;
    align-items: flex-end; /* Aligns children elements to the bottom */
     
}


.bevi-dashboard-button-container {
    text-align: right;
    padding: 10px 0;
}

#toggleDiv {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
}
#hiddenDiv {
    display: none; /* Initially hidden */
    border: 0px solid #ccc;
    padding: 0px;
    margin-top: 10px;
}




.bevi-dashboard-field textarea {
    width: 100%;
    margin: 10px 0;
    resize: vertical;
}


.notes-form {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.notes-form textarea {
    width: 100%;
    margin: 10px 0;
    resize: vertical;
}

.notes-form button {
    align-self: flex-end;
    margin-top: 10px;
}

.notes-form .buttonSubDiv {
    flex: 1;        /* Each div takes equal space */
    color: #28a745;
}


/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
}


.accordion-content {
    display: none;
    padding: 10px;
}
.accordion-title {
    cursor: pointer;
    padding: 10px;
    background-color: #f1f1f1;
}


/* Uncomment when OCS Bevi Integration plugin is activated: */
.woocommerce-MyAccount-navigation {
    display: none; 
}

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

.woocommerce-page .col-1, 
.woocommerce-page .col-2 {
    width: 100% !important;  
}
 


.divTable {
    display: table;
    width: 100%; /* Adjust width as needed */
}

.divTableRow {
    
    display: table-row;
}

.divTableCell {
    display: table-cell;
    padding: 3px 5px; /* Adjust padding as needed */
    border-left: 5px solid #28a745; /* Optional border for cell  #ddd*/ 
    /* Add other styling as needed */

}


/* Style the overall variation block in the Shopping Cart and the Order Review page */
.woocommerce-order .variation,
.order_details .variation,
.woocommerce-cart .cart_item .variation {
    font-size: 80%;       /* Adjust to match your cart text size */
    color: #165b7a;           /* Adjust to match your cart text color */
    /* line-height: 1.4; */     /* Adjust for spacing consistency */
    margin-top: 0px;       /* Optional: add a little spacing above the block */
}

/* Style the label (dt) for the custom extra line */
.woocommerce-order .variation dt.variation-Source,
.order_details .variation dt.variation-Source,
.woocommerce-cart .cart_item .variation dt.variation-Source {
    font-weight: 400;
    font-size: 90%;
    margin-right: 5px;
    display: inline;
}

/* Style the value (dd) for the custom extra line */
.woocommerce-order .variation dd.variation-Source,
.order_details .variation dd.variation-Source,
.woocommerce-cart .cart_item .variation dd.variation-Source {
    display: inline;
}

/* Optionally, if your dd contains a <p>, remove its margin */
.woocommerce-order .variation dd.variation-Source p,
.order_details .variation dd.variation-Source p,
.woocommerce-cart .cart_item .variation dd.variation-Source p {
    font-size: 90%;       /* Adjust to match your cart text size */
    color: #165b7a;           /* Adjust to match your cart text color */
    margin: 0;
    display: inline; /* Ensures the paragraph doesn't force a line break */
}

#order_review .shop_table .variation dd.variation-Source p,
.shop_table dt, 
.shop_table dd, 
.shop_table dd p {
    font-weight: 500;
    font-size: 110%;       /* Adjust to match your cart text size */
    margin: 0;
    display: inline; /* Ensures the paragraph doesn't force a line break */
}

/* END of CSS file */