/* Supervision Booking Platform Styles */

.ft_form {
    max-width: 800px;
    margin: 0 auto;
}

.ft_form_group {
    margin-bottom: 20px;
}

.ft_form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ft_form_group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.ft_form_group input,
.ft_form_group select,
.ft_form_group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.ft_form_group input:focus,
.ft_form_group select:focus,
.ft_form_group textarea:focus {
    outline: none;
    border-color: #811618;
    box-shadow: 0 0 0 2px rgba(129, 22, 24, 0.1);
}

/* Buttons */
.ft_button {
    display: inline-block;
    padding: 9px 15px;
    border: none;
    border-radius: 28px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ft_button_primary {
    background-color: #811618;
    color: white;
}

.ft_button_primary:hover {
    background-color: #6d1215;
    color: white;
}

.ft_button_secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

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

/* Management Button in header */
.ft_management_button {
    margin-left: 15px;
    font-size: 12px;
    padding: 8px 16px;
}

/* Management Link in overview header */
.ft_management_link {
    margin-top: 15px;
    text-align: center;
}

.ft_management_link .ft_button {
    font-size: 14px;
    padding: 10px 20px;
}

/* Messages */
.ft_message {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-weight: bold;
}

.ft_success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ft_error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ft_info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 30px;
    font-weight: bold;
}

/* Booking Form Styles */
.ft_booking_form {
    max-width: 1200px;
    margin: 0 auto;
}

/* Login Required Section */
.ft_login_required {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.ft_login_card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.ft_login_card h3 {
    color: #811618;
    margin-bottom: 20px;
    font-size: 24px;
}

.ft_login_actions {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.ft_package_preview {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: left;
}

.ft_package_preview h4 {
    color: #811618;
    margin-bottom: 15px;
}

.ft_package_preview ul {
    margin: 15px 0;
    padding-left: 20px;
}

.ft_price {
    text-align: center;
    font-size: 18px;
    color: #811618;
    margin-top: 15px;
}

/* Package Booking Section */
.ft_package_booking_section {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.ft_welcome_header {
    text-align: center;
    margin-bottom: 40px;
}

.ft_welcome_header h3 {
    color: #811618;
    font-size: 28px;
    margin-bottom: 10px;
}

.ft_package_details_card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.ft_package_header {
    background: linear-gradient(135deg, #811618, #a01d20);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft_package_header h4 {
    margin: 0;
    font-size: 24px;
}

.ft_package_price {
    font-size: 32px;
    font-weight: bold;
}

.ft_package_content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ft_package_includes h5,
.ft_user_info h5 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.ft_package_includes ul {
    list-style: none;
    padding: 0;
}

.ft_package_includes li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.ft_check {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

.ft_user_info p {
    margin: 8px 0;
    color: #666;
}

.ft_booking_form_inner {
    padding: 0 30px 30px;
}

.ft_confirmation_section {
    margin-bottom: 30px;
}

.ft_confirmation_label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.ft_confirmation_label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.ft_checkmark {
    flex-shrink: 0;
}

.ft_confirmation_text a {
    color: #811618;
    text-decoration: underline;
}

.ft_submit_package {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ft_button_icon {
    font-size: 18px;
}

/* Package Invitation in Overview */
.ft_package_invitation {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.ft_package_hero {
    background: linear-gradient(135deg, #811618, #a01d20);
    color: white;
    padding: 40px;
    /*
    display: grid;
    grid-template-columns: 2fr 1fr;
    */
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.ft_package_content h2 {
    color: white;
    margin-top: 0;
}

.ft_package_content h3 {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 25px;
}

.ft_package_content ul {
    color: rgba(255, 255, 255, 0.95);
}

.ft_pricing_box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ft_price_label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.ft_price_amount {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.ft_user_info_section {
    padding: 30px 40px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.ft_user_info_section h4 {
    color: #333;
    margin-bottom: 15px;
}

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

.ft_user_details p {
    margin: 5px 0;
    color: #666;
}

.ft_booking_action {
    padding: 30px 40px;
}

.ft_overview_header {
    
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ft_overview_header h3 {
    color: #811618;
    margin-bottom: 10px;
}

/* Complete Booking Interface */
.ft_complete_booking_interface {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ft_booking_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ft_user_welcome h3 {
    color: #811618;
    margin: 0 0 5px 0;
    font-size: 24px;
}

.ft_user_welcome p {
    margin: 0;
    color: #666;
}

.ft_package_status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ft_status_badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
}

.ft_status_active {
    background: #d4edda;
    color: #155724;
}

.ft_status_icon {
    font-size: 16px;
}

/* Progress Dashboard */
.ft_progress_dashboard {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ft_progress_dashboard h4 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
}

.ft_progress_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ft_progress_card {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.ft_progress_number {
    font-size: 32px;
    font-weight: bold;
    color: #811618;
    margin-bottom: 8px;
}

.ft_progress_label {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.ft_progress_bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.ft_progress_fill {
    height: 100%;
    background: #811618;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.ft_progress_sf {
    background: #007bff;
}

.ft_progress_mr {
    background: #6f42c1;
}

.ft_progress_confirmed {
    background: #28a745;
}

/* Current Bookings */
.ft_current_bookings {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ft_current_bookings h4 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
}

.ft_bookings_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.ft_booking_card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: #f8f9fa;
}

.ft_booking_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.ft_booking_header h5 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.ft_booking_details p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.ft_booking_status {
    margin: 15px 0;
}

.ft_status_confirmed {
    color: #155724;
    font-size: 14px;
    font-weight: bold;
}

.ft_status_pending {
    color: #856404;
    font-size: 14px;
    font-weight: bold;
}

.ft_status_no-show {
    color: #850404;
}
.ft_status_cancelled {
    color: #333;
}

.ft_booking_actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

/* Available Dates */
.ft_available_dates {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.ft_section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ft_section_header h4 {
    color: #333;
    margin: 0;
    font-size: 20px;
}

.ft_info_badge {
    background: #e7f3ff;
    color: #004085;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.ft_needed_roles {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.ft_needed_list {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ft_needed_badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.ft_needed_sf {
    background: #cce7ff;
    color: #004085;
}

.ft_needed_mr {
    background: #e6ccff;
    color: #4a1a7b;
}

.ft_dates_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
}

.ft_date_card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.ft_date_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.ft_date_header h5 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.ft_date_role {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ft_date_time {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.ft_date_day {
    font-size: 22px;
    font-weight: bold;
    color: #811618;
}

.ft_date_hours {

    font-size: 16px;
    color: #666;
}

.ft_date_details {
    display: flex;
    gap: 25px;
}

.ft_date_details p {
    margin: 8px 0;
    font-size: 15px;
    color: #666;
}

.ft_attendance_selection {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.ft_attendance_selection p {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 14px;
}

.ft_attendance_options {
    display: flex;
    gap: 15px;
}

.ft_attendance_option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.ft_attendance_option input[type="radio"] {
    width: auto;
    margin: 0;
}

.ft_date_actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.ft_date_actions .ft_button {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Info Cards */
.ft_no_dates_available,
.ft_booking_complete {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ft_info_card {
    max-width: 500px;
    margin: 0 auto;
}

.ft_info_card h4 {
    color: #856404;
    margin-bottom: 15px;
}

.ft_success_card h4 {
    color: #155724;
    margin-bottom: 15px;
}

/* Certificate Package */
.ft_certificate_booking {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.ft_package_details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.ft_package_details h4 {
    color: #811618;
    margin-top: 0;
}

.ft_package_details ul {
    margin: 15px 0;
    padding-left: 20px;
}

/* Date Selection */
.ft_date_selection {
    max-width: 1000px;
    margin: 0 auto;
}

.ft_booking_status {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
}

.ft_available_blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ft_block_card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.ft_block_card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ft_block_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.ft_block_header h5 {
    margin: 0;
    color: #333;
}

.ft_block_role {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ft_role_et {
    background-color: #e3f2fd;
    color: #1976d2;
}

.ft_role_mr {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.ft_block_details p {
    margin: 8px 0;
    color: #666;
}

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

.ft_attendance_options {
    margin-bottom: 15px;
}

.ft_attendance_options label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
}

/* User Overview */
.ft_user_overview {
    max-width: 1200px;
    margin: 0 auto;
}

.ft_progress_summary {
    margin-bottom: 40px;
}

.ft_progress_card {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.ft_progress_items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ft_progress_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft_progress_label {
    font-weight: bold;
    color: #333;
}

.ft_progress_value {
    font-size: 1.2em;
    font-weight: bold;
    color: #811618;
}

.ft_progress_bar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.ft_progress_fill {
    height: 100%;
    background-color: #811618;
    transition: width 0.3s ease;
}

/* Tables */
.ft_table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ft_table th,
.ft_table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.ft_table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.ft_table tr:hover {
    background-color: #f5f5f5;
}

.ft_bookings_list {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ft_bookings_list h4 {
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
}

/* Status badges */
.ft_role_badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.ft_status_confirmed, .ft_status_completed {
    color: #155724;
    background-color: #d4edda;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.ft_status_pending {
    color: #856404;
    background-color: #fff3cd;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.ft_status_cancelled, .ft_status_no-show {
    background-color: #efefef;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Admin sections */
.ft_manage_blocks {
    max-width: 1200px;
    margin: 0 auto;
}

.ft_create_block {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 40px;
}

.ft_blocks_list {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.ft_supervision_admin {
    max-width: 1200px;
    margin: 0 auto;
}

.ft_block_selector {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}

.ft_block_selector select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: bold;
}

.ft_participants_section {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}

.ft_section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.ft_notification_section {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Recipients list in Supervision Administration: vertical and left-aligned */
.ft_recipients {
    display: block;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-top: 10px;
    text-align: left;
}

.ft_recipients label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    font-weight: normal;
    margin: 6px 0;
}
.ft_recipients label input{
    width: auto !important;
}

/* Small caption under confirmed state */
.ft_confirmed_info {
    color: #666;
    font-style: italic;
    font-size: 12px;
}

/* Statistics Cards */
.ft_participants_stats {
    margin: 20px 0;
}

.ft_stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.ft_stat_card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #ddd;
}

.ft_stat_card.ft_stat_completed { border-left-color: #28a745; }
.ft_stat_card.ft_stat_pending { border-left-color: #ffc107; }
.ft_stat_card.ft_stat_no_show { border-left-color: #dc3545; }

.ft_stat_number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.ft_stat_label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

/* Filter Buttons */
.ft_recipient_filter {
    margin-bottom: 15px;
}

.ft_filter_buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.ft_filter_btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.ft_filter_btn:hover {
    background: #f8f9fa;
}

.ft_filter_btn.ft_filter_active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Recipients Controls */
.ft_recipients_controls {
    margin-bottom: 10px;
}

.ft_select_actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ft_select_actions button {
    padding: 5px 10px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 3px;
    cursor: pointer;
}

.ft_select_actions button:hover {
    background: #e9ecef;
}

.ft_selected_count {
    font-weight: bold;
    color: #007cba;
    font-size: 12px;
}

/* Recipients List */
.ft_recipients {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.ft_recipient_item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    cursor: pointer;
}

.ft_recipient_item:last-child {
    border-bottom: none;
}

.ft_recipient_item:hover {
    background: #f8f9fa;
}

.ft_recipient_name {
    font-weight: 500;
    min-width: 150px;
}

.ft_recipient_email {
    color: #666;
    font-size: 13px;
    flex-grow: 1;
}

.ft_recipient_status {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.ft_status_completed { background: #d4edda; color: #155724; }
.ft_status_pending { background: #fff3cd; color: #856404; }
.ft_status_no_show { background: #f8d7da; color: #721c24; }
.ft_status_cancelled { background: #e2e3e5; color: #383d41; }

/* Empfängergruppe Select */
.ft_form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.ft_form select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 123, 186, 0.25);
}

/* Recipients List */
.ft_recipients {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.ft_recipient_item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ft_recipient_item:last-child {
    border-bottom: none;
}

.ft_recipient_item:hover {
    background: #f8f9fa;
}

/* Hervorhebung für ausgewählte Items */
.ft_recipient_item.ft_selected {
    background: #e7f3ff;
    border-color: #007cba;
}

.ft_recipient_name {
    font-weight: 500;
    min-width: 150px;
}

.ft_recipient_email {
    color: #666;
    font-size: 13px;
    flex-grow: 1;
}

.ft_recipient_status {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.ft_status_completed { background: #d4edda; color: #155724; }
.ft_status_pending { background: #fff3cd; color: #856404; }
.ft_status_no_show { background: #f8d7da; color: #721c24; }
.ft_status_cancelled { background: #e2e3e5; color: #383d41; }

/* Responsive */
@media (max-width: 768px) {
    .ft_form_row {
        grid-template-columns: 1fr;
    }

    .ft_available_blocks,
    .ft_dates_grid,
    .ft_bookings_grid {
        grid-template-columns: 1fr;
    }

    .ft_progress_items,
    .ft_progress_grid {
        grid-template-columns: 1fr;
    }

    .ft_section_header,
    .ft_booking_header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .ft_package_status {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .ft_package_content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ft_package_hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ft_user_details {
        grid-template-columns: 1fr;
    }

    .ft_login_actions {
        flex-direction: column;
    }

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

    .ft_attendance_options {
        flex-direction: column;
        gap: 10px;
    }
}

.print_only {
    display: none;
}
/* Print styles */
@media print {
    .print_only {
        display: block;
    }
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    @page {
        margin: 10mm;
    }
    
    .primary {
        min-height: auto !important;
    }

    /* Hide global chrome for clean print */
    #wpadminbar,
    header,
    footer,
    .fl-builder-content-11025,
    .site-header,
    .site-footer,
    .entry-header,
    .entry-footer {
        display: none !important;
    }

    .ft_button,
    .ft_notification_section,
    .ft_block_selector,
    .ft_modal {
        display: none !important;
    }
    .fl-node-a6biemwjzk7c > .fl-row-content-wrap {
        padding-bottom: 0px !important;
    }

    /* Remove extra padding/margins and shadows to avoid trailing blank page */
    .ft_supervision_admin,
    .ft_participants_section,
    .ft_participants_section * {
        box-shadow: none !important;
        background: white !important;
    }

    .ft_supervision_admin,
    .ft_participants_section {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    .ft_table {
        box-shadow: none;
        border: 1px solid #333;
        width: 100%;
        page-break-inside: auto;
    }

    .ft_table th,
    .ft_table td {
        border: 1px solid #333;
        page-break-inside: avoid;
        page-break-after: auto;
    }

    .ft_table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
}