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

/* Trainer Dashboard Styles */

.trainer-order-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.trainer-order-detail h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.trainer-order-detail h3 {
    color: #555;
    margin-top: 30px;
    margin-bottom: 15px;
}

.order-info,
.order-products,
.plan-assignment {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid #0073aa;
}

.order-info p,
.order-products p {
    margin: 8px 0;
}

.order-products ul {
    margin: 10px 0;
    padding-left: 20px;
}

.order-products li {
    margin: 5px 0;
}

.plan-assignment h4 {
    color: #0073aa;
    margin-bottom: 15px;
}

.current-plan {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #b3d9ff;
}

.plan-template-selection {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.plan-template-selection select {
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
}

.plan-template-selection button {
    margin-top: 10px;
}

/* Plan Editor Styles */
.plan-editor {
    max-width: 1000px;
    margin: 0 auto;
}

.plan-editor h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.plan-editor form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.plan-editor label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.plan-editor input[type="text"],
.plan-editor textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 15px;
}

.plan-editor button {
    margin-right: 10px;
}

/* Training Cards Styles */
#training-cards-container {
    margin-top: 20px;
}

.training-cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.training-cards-header h3 {
    margin: 0;
}

.training-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-header:hover {
    background: #e9ecef;
}

.card-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.card-content {
    padding: 20px;
    display: none;
}

.training-card:not(.collapsed) .card-content {
    display: block;
}

.card-content p {
    margin-bottom: 15px;
}

.exercises-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.exercises-section h5 {
    margin-bottom: 15px;
    color: #555;
}

.exercises-container {
    margin-top: 15px;
}

.exercise-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.exercise-header {
    background: #e9ecef;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.exercise-header:hover {
    background: #dee2e6;
}

.exercise-header h6 {
    margin: 0;
    color: #495057;
    font-size: 13px;
    font-weight: 600;
}

.exercise-content {
    padding: 15px;
    display: none;
}

.exercise-item:not(.collapsed) .exercise-content {
    display: block;
}

.exercise-content p {
    margin: 10px 0;
}

.exercise-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 12px;
}

.exercise-content input,
.exercise-content select,
.exercise-content textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.exercise-content input:focus,
.exercise-content select:focus,
.exercise-content textarea:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

.exercise-content input[type="number"] {
    width: 100px;
}

/* Exercise Info Display */
.exercise-info {
    background: #f9f9f9;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 3px solid #0073aa;
    font-size: 13px;
    line-height: 1.4;
}

.exercise-description-display {
    margin-bottom: 8px;
    color: #333;
}

.exercise-duration-display {
    font-weight: bold;
    color: #0073aa;
}

/* Button Styles */
.button {
    background: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.button:hover {
    background: #005a87;
    color: #fff;
}

.button-secondary {
    background: #f7f7f7;
    color: #555;
    border: 1px solid #ccc;
}

.button-secondary:hover {
    background: #eee;
    color: #333;
}

/* Add/Remove Button Styles */
.add-exercise,
.remove-exercise,
.remove-card {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.add-exercise {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.add-exercise:hover {
    background: #218838;
    border-color: #1e7e34;
}

.remove-exercise,
.remove-card {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.remove-exercise:hover,
.remove-card:hover {
    background: #c82333;
    border-color: #bd2130;
}

/* Add Section Styles */
.add-card-section,
.add-exercise-section {
    padding: 15px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    margin-top: 15px;
}

.add-card-section:hover,
.add-exercise-section:hover {
    border-color: #007cba;
    background: #e7f3ff;
}

#add-training-card {
    background: #007cba;
    border-color: #007cba;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 14px;
}

#add-training-card:hover {
    background: #005a87;
    border-color: #005a87;
}

/* Customer Fitness Plans Styles */
.customer-fitness-plans {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.customer-fitness-plans h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Plan Card */
.plan-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.plan-card-header {
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    padding: 20px;
    text-align: center;
}

.plan-card-header h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.order-number {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.plan-card-content {
    padding: 20px;
}

/* Plan Stats */
.plan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-top: 5px;
}

.plan-card-actions {
    text-align: center;
}

/* No Plans State */
.no-plans {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.no-plans-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-plans h3 {
    color: #333;
    margin-bottom: 15px;
}

.no-plans p {
    color: #666;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Fitness Plan Detail */
.fitness-plan-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    border-radius: 12px;
}

.plan-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.trainer-info {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.plan-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #0073aa;
}

.plan-description p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Customer Training Cards */
.training-cards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.training-card.customer-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.training-card.customer-card .card-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.training-card.customer-card .card-header h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.card-description {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Exercises Grid */
.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Customer Exercise Items */
.exercise-item.customer-exercise {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exercise-item.customer-exercise:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.exercise-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exercise-item.customer-exercise:hover .exercise-image img {
    transform: scale(1.05);
}

.exercise-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
    background: #f8f9fa;
    color: #ccc;
}

.exercise-content {
    padding: 15px;
}

.exercise-content h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.exercise-details {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.exercise-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.exercise-type.strength {
    background: #e3f2fd;
    color: #1976d2;
}

.exercise-type.cardio {
    background: #e8f5e8;
    color: #388e3c;
}

.exercise-type.flexibility {
    background: #fff3e0;
    color: #f57c00;
}

.exercise-type.balance {
    background: #f3e5f5;
    color: #7b1fa2;
}

.exercise-duration {
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 11px;
    color: #666;
}

.exercise-sets {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.exercise-notes {
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.exercise-description {
    margin-bottom: 12px;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #0073aa;
}

.exercise-video {
    margin-top: 10px;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.video-link:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

.video-icon {
    font-size: 14px;
}

.no-cards {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {

    .customer-fitness-plans,
    .fitness-plan-detail {
        padding: 15px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .plan-card-header {
        padding: 15px;
    }

    .plan-card-header h3 {
        font-size: 16px;
    }

    .plan-card-content {
        padding: 15px;
    }

    .plan-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat {
        padding: 8px;
    }

    .stat-number {
        font-size: 20px;
    }

    .plan-header {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .plan-header h2 {
        font-size: 24px;
    }

    .exercises-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .exercise-image {
        height: 180px;
    }

    .exercise-content {
        padding: 12px;
    }

    .exercise-details {
        gap: 8px;
    }

    .exercise-type,
    .exercise-duration {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .plan-stats {
        grid-template-columns: 1fr;
    }

    .exercise-image {
        height: 160px;
    }

    .plan-header h2 {
        font-size: 20px;
    }

    .training-card.customer-card .card-header h3 {
        font-size: 18px;
    }
}

.button-small {
    padding: 4px 8px;
    font-size: 12px;
}

.button-primary {
    background: #0073aa;
    color: #fff;
}

.button-primary:hover {
    background: #005a87;
}

/* Table Styles */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.woocommerce-orders-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.woocommerce-orders-table tr:hover {
    background: #f9f9f9;
}

/* Responsive Design */
@media (max-width: 768px) {

    .trainer-order-detail,
    .plan-editor {
        padding: 10px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-header button {
        margin-top: 10px;
    }

    .exercise-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .exercise-header button {
        margin-top: 10px;
    }

    .woocommerce-orders-table {
        font-size: 14px;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 8px;
    }
}

/* Success/Error Messages */
.woocommerce-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Customer Question Responses for Trainers */
.customer-question-responses {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid #28a745;
}

.customer-question-responses h3 {
    color: #555;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

.customer-question-responses h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.no-responses {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.pending-questions {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.pending-questions h4 {
    margin-top: 0;
    color: #666;
    font-size: 14px;
}

.pending-questions ul {
    margin: 10px 0;
    padding-left: 20px;
}

.pending-questions li {
    margin: 8px 0;
    line-height: 1.4;
}

.pending-questions li strong {
    color: #333;
}

.pending-questions li small {
    color: #777;
    font-size: 12px;
}

/* Modern Card Design for Trainer Responses */
.ft-trainer-response-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.ft-trainer-response-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Card Header */
.ft-response-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-response-title h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.ft-response-timestamp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.9;
}

.ft-response-timestamp .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.ft-response-status {
    flex-shrink: 0;
}

.ft-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-status-completed {
    background: rgba(40, 167, 69, 0.9);
}

.ft-status-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Question Description */
.ft-question-description {
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.ft-description-content {
    color: #495057;
    font-style: italic;
    line-height: 1.6;
}

.ft-description-content p {
    margin: 0;
}

/* Responses Container */
.ft-responses-container {
    padding: 25px;
}

.ft-single-qa {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.ft-single-qa:last-child {
    margin-bottom: 0;
}

/* Question Item */
.ft-question-item {
    margin-bottom: 15px;
}

.ft-question-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ft-q-number {
    background: #6c757d;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.ft-question-text {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
}

/* Answer Item */
.ft-answer-item {
    margin-top: 15px;
}

.ft-answer-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ft-a-number {
    background: #28a745;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.ft-answer-content {
    flex: 1;
    min-width: 0;
}

/* Answer Types */
.ft-single-answer,
.ft-short-answer {
    display: inline-block;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 2px solid #28a745;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.ft-long-answer {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #28a745;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.6;
    white-space: pre-wrap;
}

.ft-multiple-answers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ft-answer-tag {
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

/* No Response Data */
.ft-no-response-data {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 25px;
}

.ft-no-response-data .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Response Footer */
.ft-response-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    border-top: 1px solid #e9ecef;
}

.ft-response-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ft-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 12px;
}

.ft-meta-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Unanswered Questions Section */
.ft-unanswered-questions {
    background: #fff8e1;
    border-left: 4px solid #ff9800;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}

.ft-unanswered-questions h3 {
    color: #e65100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft-unanswered-questions h3:before {
    content: "\1f4dd";
    font-size: 20px;
}

.ft-instructions {
    background: #fff3e0;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ffcc02;
    margin-bottom: 20px;
    color: #e65100;
    font-weight: 500;
}

.ft-order-question.ft-unanswered {
    background: #fff;
    border: 2px solid #ff9800;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.15);
    margin-bottom: 25px;
    overflow: hidden;
}

.ft-question-header {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft-question-header h4 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.ft-question-status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ft-status-pending {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

.ft-question-status .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.ft-order-question.ft-unanswered .ft-question-description {
    background: #fff8e1;
    padding: 15px 20px;
    border-bottom: 1px solid #ffcc02;
}

.ft-order-question.ft-unanswered .ft-order-question-form {
    padding: 20px;
}

.ft-no-questions {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #2e7d32;
    font-weight: 500;
}

/* Enhanced form styling for unanswered questions */
.ft-unanswered-questions .ft-question-field {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ft-unanswered-questions .ft-question-field:focus-within {
    border-color: #ff9800;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.ft-unanswered-questions .ft-question-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.ft-unanswered-questions .ft-submit-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ft-unanswered-questions .ft-submit-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.ft-unanswered-questions .ft-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .customer-question-responses {
        padding: 20px;
        margin-bottom: 20px;
    }

    .ft-trainer-response-card {
        margin-bottom: 20px;
    }

    .ft-response-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ft-response-title h4 {
        font-size: 16px;
    }

    .ft-responses-container {
        padding: 20px;
    }

    .ft-single-qa {
        padding: 15px;
        margin-bottom: 20px;
    }

    .ft-question-label,
    .ft-answer-label {
        flex-direction: column;
        gap: 8px;
    }

    .ft-q-number,
    .ft-a-number {
        align-self: flex-start;
    }

    .ft-multiple-answers {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-response-meta {
        flex-direction: column;
        gap: 10px;
    }

    .pending-questions {
        padding: 15px;
    }

    .pending-questions li {
        padding: 10px;
    }
}