/* Simple Confirmation Page Styles */
.confirmation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
}

/* Header Section */
.confirmation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
}

.confirmation-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #112B4C;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #112B4C;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn:hover {
    background: #1460c1;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

/* Timeslot Section */
.timeslot-section {
    margin-bottom: 2rem;
}

.timeslot-card {
    background: #112B4C;
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 28px;
    margin-bottom: 1rem;
}

.timeslot-content {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.timeslot-address {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    /* font-style: italic; */
    color: white;
}

/* Section Styles */
.info-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #112B4C;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
}

/* Info Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.info-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.info-table td.label {
    font-weight: 600;
    color: #374151;
    width: 180px;
    white-space: nowrap;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background-color: #f8f9fa;
}

/* Text Permission Indicators */
.text-ok {
    color: #059669;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.no-text {
    color: #dc2626;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Children Table */
.children-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
}

.info-table td.childlabel {
    font-weight: 600;
    color: #374151;
    width: auto;
    white-space: nowrap;
}

.children-table th,
.children-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.children-table th {
    background: #112B4C;
    color: white;
    font-weight: 600;
}

.children-table tbody tr:hover {
    background-color: #f8f9fa;
}

.children-table tbody tr:last-child td {
    border-bottom: none;
}

.side-by-side-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.half-width {
    flex: 1;
    min-width: 0;
    /* Prevents flex items from overflowing */
}

/* Show full gender on desktop, hide short version */
.gender-full {
    display: inline;
}

.gender-short {
    display: none;
}

/* On mobile screens, hide full and show short version */
@media (max-width: 768px) {
    .gender-full {
        display: none;
    }

    .gender-short {
        display: inline;
    }
}

/* Show full date on desktop, hide short version */
.date-full {
    display: inline;
}

.date-short {
    display: none;
}

/* Show full header on desktop, hide short version */
.dob-full {
    display: inline;
}
.dob-short {
    display: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .confirmation-container {
        padding: 1rem;
    }

    .confirmation-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .confirmation-title {
        font-size: 1.5rem;
    }

    .info-table td.label {
        width: 160px;
        font-size: 0.9rem;
    }

    .children-table {
        font-size: 0.9rem;
    }

    .children-table th,
    .children-table td {
        padding: 0.5rem;
    }

    /* Optimize column widths for mobile */
    .children-table th:nth-child(2),
    .children-table td:nth-child(2) {
        width: 60px;
        /* Gender column */
    }

    .children-table th:nth-child(3),
    .children-table td:nth-child(3) {
        width: 40px;
        /* Age column */
    }

    .children-table th:nth-child(4),
    .children-table td:nth-child(4) {
        width: 100px;
        /* Date of Birth */
    }

    .side-by-side-container {
        flex-direction: column;
    }

    .date-full {
        display: none;
    }

    .date-short {
        display: inline;
    }

    .dob-full {
        display: none;
    }
    .dob-short {
        display: inline;
    }
}

@media (max-width: 480px) {
    .confirmation-title {
        font-size: 1.3rem;
    }

    .timeslot-content {
        font-size: 1rem;
        color: white;
    }

    .info-table td.label {
        width: 130px;
        font-size: 0.8rem;
    }

    .info-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .children-table {
        font-size: 0.9rem;
    }

    .children-table th,
    .children-table td {
        padding: 0.4rem;
    }

       .side-by-side-container {
        flex-direction: column;
    }

    .date-full {
        display: none;
    }

    .date-short {
        display: inline;
    }
    .dob-full {
        display: none;
    }
    .dob-short {
        display: inline;
    }
}