/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/*
 * CUSTOM USER PROFILE IMAGER
 */

.usrimg-selector {
    max-width: 800px;
    margin: 20px auto;
}
.usrimg-selector h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
.usrimg-scrollbox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 13px;
    max-height: 500px; 
    overflow-y: auto; 
    padding: 15px 10px 35px 10px;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid #CCC;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
}
.usrimg-scrollbox::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
.usrimg-scrollbox::-webkit-scrollbar-track {
    background: transparent;
    border-left: 1px solid #d3d3d3;
}
.usrimg-scrollbox::-webkit-scrollbar-thumb {
    background-color: #23668e; 
    border-radius: 3px;
    min-height: 27px;
    transition: background-color 0.2s;
}
.usrimg-scrollbox::-webkit-scrollbar-thumb:hover {
    background-color: #448abf;
}
.usrimg-item {
    cursor: pointer;
}
.usrimg-item img {
    border: 2px solid transparent;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    object-fit: cover;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}
.usrimg-item[data-selected="true"] img {
    border: 4px outset #ffd64f;
    box-shadow: rgb(79, 63, 14) 0px 2px 10px 0, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: border 0.3s;
}
.usrimg.usrimg-300 {
    max-width: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px outset #ffd64f;
    margin-bottom: 20px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}
/* Responsive adjustments */
@media (max-width: 600px) {
    .usrimg-item img {
        width: 100px;
        height: 100px;
    }
    .usrimg-scrollbox {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        max-height: 400px;
    }
}
@media (max-width: 400px) {
    .usrimg-item img {
        width: 50px;
        height: 50px;
    }
    .usrimg-scrollbox {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        max-height: 300px;
    }
}
.usrimg-selector button {
    background: #23668e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 5px;
}
.usrimg-selector button:hover {
    background: #168bc1;
}
.usrimg-selector-success {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}
.usrimg-selector-success a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #6b8e23;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-left: 10px;
}
.usrimg-selector-success a:hover {
    background-color: #9acd32;
    text-decoration: none;
}

/* Hide Login Headers
.woocommerce-account #customer_login {
	display: none !important;
} */


/*
 * CUSTOM BULK TIER CSS
 */


.awdr-bulk-customizable-table {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    padding-bottom: 20px;
}

.wdr_bulk_table_msg {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wdr_bulk_table_thead {
    background: #f8f9fa;
    color: #333;
}

.wdr_bulk_table_th, .wdr_bulk_table_td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.wdr_bulk_table_th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.wdr_bulk_table_tr {
    transition: background 0.2s ease;
}

.wdr_bulk_table_tr:hover {
    background: #f5f5f5;
}

.wdr_bulk_table_td.wdr_bulk_title {
    font-weight: 500;
    color: #2c3e50;
}

.wdr_bulk_table_td.wdr_bulk_range {
    color: #555;
}

.wdr_bulk_table_td.wdr_bulk_table_discount {
    color: #e74c3c;
    font-weight: 500;
}

.wdr_table_discounted_value .woocommerce-Price-amount {
    font-size: 16px;
}

.wdr_table_discounted_price {
    display: none;
}

@media (max-width: 600px) {
    .wdr_bulk_table_th, .wdr_bulk_table_td {
        padding: 12px;
        font-size: 14px;
    }
    
    .wdr_bulk_table_th {
        font-size: 12px;
    }
}

/*
 * Reviews Custom CSS
 */

.cr-reviews-ajax-reviews .cr-reviews-ajax-comments .cr-ajax-reviews-list .comment_container .comment-text,
.cr-all-reviews-shortcode ol.commentlist li .comment-text {
  margin: 0 0 0 5px;
  padding: 15px;
}

/* Hide Pop-Up Image Gallery Zoom */

#photoswipe-fullscreen-dialog {
	display: none;
}

/* Variation - Remove All Caps */
.woocommerce-variation-description {
	text-transform: none;
}
/* Hide Avatar from Give Donor Dashboard */
.give-donor-dashboard-donor-info__avatar .give-donor-dashboard-donor-info__avatar-container {
    display: none !important;
}