/*
Theme Name: 	BuddyBoss Child
Theme URI: 		https://www.buddyboss.com/
Description: 	A child theme of BuddyBoss Theme. To ensure easy updates, make your own edits in this theme.
Author: 		BuddyBoss.com
Author URI: 	https://www.buddyboss.com/
License: 		GNU General Public License v3 or later
License URI: 	http://www.gnu.org/licenses/gpl-3.0.html
Template: 		buddyboss-theme
Version: 		1.0.1
*/

/*

-- Stylesheet locations --

Add your own customizations into /css/custom.css in this child theme.

Parent styles are called from /buddyboss-theme/inc/theme/functions.php in the 
parent theme and are located in /buddyboss-theme/assets/css/ in the parent theme.


--- If you are editing CSS via the WordPress admin, do the following ---

1. Install the plugin WP Editor: http://wordpress.org/plugins/wp-editor/
2. Navigate to Appearance > Theme Editor in the WordPress admin.
3. Navigate into the /css/ folder of your child theme to edit custom.css.

*/

.single-zoho-tickets-lists .single-ticket-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.single-zoho-tickets-lists .ticket-header {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.single-zoho-tickets-lists .ticket-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.single-zoho-tickets-lists .ticket-title-section h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
    flex: 1;
}
.single-zoho-tickets-lists .ticket-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
}
.single-zoho-tickets-lists span.ticket-status.Open { background: #4CAF50; }
span.ticket-status.on.hold { background: #ff8284; }
.single-zoho-tickets-lists span.ticket-status.On.Hold { background: #ff8284; }
.single-zoho-tickets-lists .ticket-status.open { background: #2196F3; }
.single-zoho-tickets-lists .ticket-status.Closed { background: #F44336; }

.single-zoho-tickets-lists .ticket-info {
    display: flex;
    gap: 30px;
}
.single-zoho-tickets-lists .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.single-zoho-tickets-lists .info-label {
    color: #666;
    font-size: 14px;
}
.single-zoho-tickets-lists .info-value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.single-zoho-tickets-lists .ticket-conversation {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.single-zoho-tickets-lists .message-wrapper {
    display: flex;
    gap: 15px;
}

.single-zoho-tickets-lists .message-wrapper.agent {
    flex-direction: row;
}

.single-zoho-tickets-lists .message-wrapper.customer {
    flex-direction: row-reverse;
}

.single-zoho-tickets-lists .message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.single-zoho-tickets-lists .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-zoho-tickets-lists .avatar-placeholder {
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.single-zoho-tickets-lists .message-content-wrapper {
    flex: 1;
    max-width: calc(100% - 55px);
}

.single-zoho-tickets-lists .message-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.single-zoho-tickets-lists .author-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.single-zoho-tickets-lists .author-role {
    color: #666;
    font-size: 12px;
}

.single-zoho-tickets-lists .message-time {
    color: #888;
    font-size: 12px;
    margin-left: auto;
}

.single-zoho-tickets-lists .message-bubble {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 15px;
    line-height: 1.5;
    font-size: 14px;
}

.single-zoho-tickets-lists .agent .message-bubble {
    background: #f5f5f5;
}

.single-zoho-tickets-lists .customer .message-bubble {
    background: #e3f2fd;
    border-color: #bbdefb;
}

.single-zoho-tickets-lists .reply-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}
.single-zoho-tickets-lists .reply-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}
.single-zoho-tickets-lists #ticket-reply-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.single-zoho-tickets-lists #reply_message {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
}
.single-zoho-tickets-lists #reply_message:focus {
    outline: none;
    border-color: #2196F3;
}
.single-zoho-tickets-lists .form-submit {
    text-align: right;
}
.single-zoho-tickets-lists .submit-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.single-zoho-tickets-lists .submit-btn:hover {
    background: #1976D2;
}

@media (max-width: 768px) {
    .single-zoho-tickets-lists .single-ticket-container {
        margin: 20px auto;
        padding: 15px;
    }
    .single-zoho-tickets-lists .ticket-info {
        flex-direction: column;
        gap: 10px;
    }
    .single-zoho-tickets-lists .message-meta {
        flex-wrap: wrap;
    }
    .single-zoho-tickets-lists .message-time {
        margin-left: 0;
        width: 100%;
    }
    .single-zoho-tickets-lists .ticket-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/*Zoho ticket list shortcode css*/
.zoho-main-wrapper .zoho-tickets-list-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.zoho-main-wrapper .ticket-list-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease;
}
.zoho-main-wrapper .ticket-list-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.zoho-main-wrapper .ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.zoho-main-wrapper .ticket-header h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.zoho-main-wrapper .ticket-header h3 a {
    color: #333;
    text-decoration: none;
}
.zoho-main-wrapper .ticket-header h3 a:hover {
    color: #2196F3;
}
.zoho-main-wrapper .reply-count {
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: normal;
}
.zoho-main-wrapper .ticket-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}
.zoho-main-wrapper .ticket-status.open { background: #4CAF50; }
.zoho-main-wrapper .ticket-status.closed { background: #F44336; }
.zoho-main-wrapper .ticket-status.success { background: #4CAF50; }
.zoho-main-wrapper .ticket-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
    padding: 10px;
    border-radius: 6px;
}
.zoho-main-wrapper .ticket-summary.agent-reply {
    background: #e3f2fd;
    border-left: 3px solid #2196F3;
}
.zoho-main-wrapper .ticket-summary.customer-reply {
    background: #f5f5f5;
    border-left: 3px solid #9e9e9e;
}
.zoho-main-wrapper .reply-indicator {
    font-weight: 500;
    color: #333;
    margin-right: 5px;
}
.zoho-main-wrapper .agent-reply .reply-indicator {
    color: #2196F3;
}
.zoho-main-wrapper .customer-reply .reply-indicator {
    color: #666;
}
.zoho-main-wrapper .ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
}
.zoho-main-wrapper .ticket-date {
    color: #888;
}
.zoho-main-wrapper .view-ticket {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}
.zoho-main-wrapper .view-ticket:hover {
    text-decoration: underline;
}
.zoho-main-wrapper .zoho-login-message {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}
@media (max-width: 768px) {
    .zoho-main-wrapper .zoho-tickets-list-container {
        padding: 10px;
    }
    .zoho-main-wrapper .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.zoho-ticket-back-button {
    margin-bottom: 30px;
}

.zoho-ticket-back-button .back-to-tickets {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.zoho-ticket-back-button .back-to-tickets:hover {
    background-color: #e0e0e0;
    color: #000;
    text-decoration: none;
}

.zoho-ticket-back-button .back-arrow {
    fill: currentColor;
    vertical-align: middle;
}
.zoho-ticket-back-button .ticket-header {
    margin-top: 20px;
}

/* Basic styling for notices in the ticket section */
.single-zoho-tickets-lists .reply-section.notice {
    margin: 20px 0;
    padding: 0;
    background: transparent;
    border: none;
}

.single-zoho-tickets-lists .verification-notice {
    margin: 0;
    padding: 15px;
    border-left: 4px solid;
}

/* Specific colors for each notice type */
.single-zoho-tickets-lists .notice-warning {
    border-left-color: #ffb900;
    background: #fff8e5;
}

.single-zoho-tickets-lists .notice-error {
    border-left-color: #dc3232;
    background: #fbeaea;
}

/* Dismiss button styling */
.single-zoho-tickets-lists .notice.is-dismissible {
    position: relative;
    padding-right: 38px;
}

.single-zoho-tickets-lists .notice.is-dismissible .notice-dismiss {
    text-decoration: none;
}

.cancellation-offer-popup-survey__questions .cancellation-offer-popup-survey-items__textarea textarea{
    width:100%;
}