/*
Theme Name: Kapee Child
Theme URI: https://kapee.presslayouts.com/
Author: PressLayouts
Description: This is a child theme for Kapee
Version: 1.0.0
Author URI: https://www.presslayouts.com/
Template: kapee
Text Domain: kapee-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */
/* Specific to liked and recommended carousels */
/* Ensure these styles only apply to the liked and recommended sections */
/* Specific to liked and recommended carousels */
/* Specific to liked and recommended carousels */
/* Adjust owl-carousel item widths for the liked and recommended products */
/* Ensure Owl Carousel takes up full width of its container */
/* Adjust owl-carousel item widths for the liked and recommended products */
/* Custom styles for Celecom Liked and Recommended Products */
/* Ensure padding, margins, and image sizes match Recently Viewed */
/* Custom styling for Celecom dropdowns and buttons */

/*
/* Fix overlapping carousel issue */
/* Custom styles for Liked and Recommended Products sections */

/* buddyPress custom css*/

#buddypress #item-header-cover-image #item-header-avatar img.avatar {
    border: solid 2px #FFF;
    background: rgba( 255, 255, 255, 0.8 );
    border-radius: 50%;
}
#celecom-like-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

#celecom-like-button.liked {
    background-color: #28a745;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}


/* Wishlist heart icon in the top-right corner of the product image */
.add-to-wishlist {
    position: absolute;
    top: 15px;
    right: 45px;
    z-index: 10; /* Ensure it is on top of the product image */
    font-size: 24px;
    color: #007bff; /* Unliked heart is blue */
}

/* single prduct page heart starts */
.product-image-wrapper {
    position: relative;
}

.product-image-wrapper .add-to-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.add-to-wishlist .fa {
    font-size: 24px;
    color: #007bff;
}
/* single prduct page heart ends */


.add-to-wishlist .fa-heart {
    color: #28a745; /* Liked heart is green */
}

.add-to-wishlist .fa-heart-o {
    color: #007bff; /* Unliked heart is blue */
}

.add-to-wishlist:hover .fa-heart-o {
    color: #ff0000; /* Red hover effect for unliked heart */
}


/* Responsive adjustments for the heart icon */
@media (max-width: 768px) {
    .add-to-wishlist {
        font-size: 20px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .add-to-wishlist {
        font-size: 16px;
        top: 5px;
        right: 5px;
    }
}

/* Styling for the Liked navbar item */
.mobile-element-wishlist .navbar-icon {
    font-family: 'kapee-icons';
    content: "\e900"; /* Heart icon */
    font-size: 18px;
    color: #ff3366; /* Change the color as needed */
}

.mobile-element-wishlist .navbar-label {
    color: #333;
    font-size: 12px;
}


/* Style for the recommendation box */
.celecom-recommend-product {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.celecom-recommend-product h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.celecom-recommend-product img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.celecom-recommend-product .button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.celecom-recommend-product .button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.alert {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.alert-success {
    background-color: #28a745;
    color: #fff;
}

.alert-danger {
    background-color: #dc3545;
    color: #fff;
}


/* Tagged Events Styles */
.kapee-tagged-events {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.kapee-tagged-events h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.celecom-event-filter {
    margin-bottom: 20px;
}

.celecom-event-filter label {
    margin-right: 10px;
}

.celecom-event-filter select {
    padding: 5px 10px;
    border-radius: 4px;
}

.kapee-tagged-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kapee-event-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.kapee-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.kapee-event-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.kapee-event-header .subuser-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.kapee-event-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #222;
}

.kapee-event-info p {
    font-size: 14px;
    color: #666;
    margin: 2px 0;
}

.kapee-event-card .button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.kapee-event-card .button:hover {
    background-color: #0056b3;
}

.kapee-event-card.expired {
    opacity: 0.7;
    background-color: #f5f5f5;
}

.kapee-event-card.expired::before {
    content: 'Expired';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4444;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
}

/* Dashboard Tagged Events Styles */
.kapee-tagged-events-dashboard {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.kapee-tagged-events-dashboard h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.kapee-tagged-events-dashboard .kapee-tagged-events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.kapee-tagged-events-dashboard .kapee-event-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kapee-tagged-events-dashboard .view-all-events {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.kapee-tagged-events-dashboard .view-all-events:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .kapee-tagged-events-grid,
    .kapee-tagged-events-dashboard .kapee-tagged-events-list {
        grid-template-columns: 1fr;
    }
}

/* Created Events Styles */
.kapee-created-events-dashboard,
.kapee-created-events {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.kapee-created-events h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.celecom-event-filter {
    margin-bottom: 20px;
}

.celecom-event-filter label {
    margin-right: 10px;
}

.celecom-event-filter select {
    padding: 5px 10px;
    border-radius: 4px;
}

.celecom-upcoming-events-dash {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.event-card-dash {
    width: 700px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.event-card-dash-header {
    display: flex;
    align-items: center;
    padding: 20px;
}

.round-profile-picture-dash {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.event-info-dash {
    flex-grow: 1;
}

.event-info-dash h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #292F33;
}

.event-info-dash p, .event-info-dash div {
    font-size: 16px;
    color: #293240;
    margin: 5px 0;
}

.event-card-dash .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.event-card-dash .button:hover {
    background-color: #005177;
}

.view-all-events-dash {
    display: block;
    width: max-content;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-all-events-dash:hover {
    background-color: #005177;
}

@media (max-width: 768px) {
    .event-card-dash {
        width: 100%;
    }
}

/* Icon for Created Events */
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--created-events a:before {
    content: "\1F4C5"; /* Calendar emoji */
}

/* Icon for Tagged Events */
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--tagged-events a:before {
    content: "\1f397"; /* Label emoji */
}

/* Event information styling in WooCommerce admin */
.woocommerce-order-data__heading + h3 {
    margin-top: 20px;
}

.woocommerce-order-data__heading + h3 + p {
    margin-bottom: 5px;
}

/* Event shipping notice styling */
.woocommerce-info {
    background-color: #f7f6f7;
    border-top: 3px solid #1e85be;
    padding: 1em 1.5em;
    margin-bottom: 2em;
}

.celecom-event-shipping-notice {
    background-color: #f7f6f7;
    border: 1px solid #d3ced2;
    padding: 1em 1.5em;
    margin-bottom: 2em;
    border-left: 5px solid #2271b1;
}


.celecom-event-info {
    transition: all 0.3s ease;
}

.celecom-event-info:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.woocommerce-cart-form__cart-item td.product-name {
    padding-bottom: 15px !important;
}


/*Request an Invite */


/* General Form Styling */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 14px;
}

.wpcf7-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Two-Column Layout */
.form-row {
    display: flex;
    gap: 1rem;
}

.half-width {
    flex: 1;
}

/* Submit Button */
.wpcf7-submit {
    background-color: #2370F4;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.wpcf7-submit:hover {
    background-color: #1e5bcc;
}

/* Center and properly space the reCAPTCHA */
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

/* Remove unwanted form wrapping or effects */
.wpcf7-recaptcha, 
.wpcf7-form-control.wpcf7-recaptcha, 
.g-recaptcha {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    display: block;
    width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

/* end of request an invite*/

/* Basic styling for Supplier Profiles admin table */
#cp_supplier_profiles_body input {
    width: 100%;
}
#cp_supplier_profiles_body td {
    vertical-align: top;
    padding: 5px;
}

.celecom-duplicate-warning {
  padding: 0.75em;
  margin-top: 1em;
  font-size: 0.95em;
  border-left: 4px solid;
  border-radius: 3px;
}
.celecom-duplicate-warning.success {
  background: #e6ffed;
  border-color: #28a745;
  color: #155724;
}
.celecom-duplicate-warning.warning {
  background: #fff8e1;
  border-color: #fd7e14;
  color: #856404;
}

