/* General form styling */
.account-form, 
.address-form, 
#user-password-update-form {
    width:100%;
    margin: 0 auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Label styling */
.account-form label, 
.address-form label, 
#user-password-update-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Input and textarea styling */
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.address-form input[type="text"],
.address-form input[type="email"],
.address-form input[type="password"],
#user-password-update-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit button styling */
.account-form input[type="submit"],
.address-form input[type="submit"],
#user-password-update-form input[type="submit"] {
    background-color: #8b67f6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.account-form input[type="submit"]:hover,
.address-form input[type="submit"]:hover,
#user-password-update-form input[type="submit"]:hover {
    background-color: darken(#8b67f6, 10%);
}

/* Error message styling */
.error,.wc-message {
    background-color: #6f00c11a; /* Semi-transparent red background */
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #8b67f6; /* Text color */
    padding: 10px; /* Add padding for better spacing */
    border: 1px solid #8b67f6; /* Optional: add a border for better visibility */
}


/* Submit button styling */
.account-form input[type="submit"],
.address-form input[type="submit"],
#user-password-update-form input[type="submit"] {
    background-color: #8b67f6; /* Normal state background color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hovered button styling */
.account-form input[type="submit"]:hover,
.address-form input[type="submit"]:hover,
#user-password-update-form input[type="submit"]:hover {
    background-color: #7648c9; /* Darker shade for hover */
    transform: scale(1.05); /* Slightly increase size */
}



.account-form .orders-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.account-form .orders-table th,
.account-form .orders-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.account-form .orders-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}



.orders-table th, .orders-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}


.view-order-button {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #8b67f6;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.view-order-button:hover {
    background-color: #7648c4;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}



.view-order-button i {
    margin-right: 5px;
}


/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

/* Close Button */
.close-modal,.form-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal:hover,
.close-modal:focus,.form-close:hover,
.form-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* order details style */
.order-details {
    font-family: 'Arial', sans-serif;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    background-color: #8b67f61f;
    border: 2px dashed #8b67f64f;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-details h4 {
    text-align: center;
    padding: 20px 0;
    font-size: 18px;
    color: #8b67f6;
    text-transform: uppercase;
    
}
.order-details h4, .order-details h5 {
    color: #333;
    font-weight: bolder;

}

.order-details ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 20px;
}

.order-details ul { 
    padding: 2px!important;
    background-color: #ffffff;

}
.order-details ul li {
    padding: 5px 0;
    list-style-type: none;
}

.order-details p {
    color: #333;
    margin: 10px 0;
}

.order-details p strong {
    color: #000;
}

/* Right align for Subtotal and Total */
.order-details p.subtotal, .order-details p.total {
    text-align: right;
}

/* order details style */

#loading-spinner {
    text-align: center;
    padding: 10px;
    font-size: 20px;
    color: #333;
}

