.wc-children-account {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.wc-children-master-form {
    background-color: #f9f9f9;
    padding: 20px 20px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    max-width: 600px;
    margin-bottom: 30px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.wc-children-master-form.flash-animate {
    animation: wcChildrenPulse .38s ease-out;
}
@keyframes wcChildrenPulse {
    0%   { transform: scale(1);   box-shadow: 0 0 0 rgba(0,0,0,0); }
    40%  { transform: scale(1.01);box-shadow: 0 0 0 3px rgba(30,140,190,.15); background-color:#f6faff; }
    100% { transform: scale(1);   box-shadow: 0 0 0 rgba(0,0,0,0); }
}
.wc-children-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 10px;
}
@media (max-width:600px){
    .wc-children-grid { grid-template-columns: 1fr; }
}
.wc-field {
    display: flex;
    flex-direction: column;
}
.wc-field .wc-label {
    font-weight: 600;
    margin-bottom: 4px;
}
.wc-field input,
.wc-field select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.wc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wc-actions .button {
    min-width: 100px;
}
.wc-children-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.wc-children-table th,
.wc-children-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.wc-children-table th {
    background-color: #fafafa;
    font-weight: 600;
}
.wc-children-table tbody tr:hover td {
    background-color: #f6faff;
}
.wc-child-edit-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}
.wc-child-edit-link:hover {
    color: #005177;
    text-decoration: underline;
}
.wc-children-table .actions form {
    display: inline;
}
.wc-children-table .button.button-small {
    padding: 2px 6px;
    line-height: 1;
}
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    margin-bottom: 20px;
}
.wcce-table {
    width: 100%;
    border-collapse: collapse;
}
.wcce-status {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.4;
}
.wcce-status--pending {
    background-color: #ffecb3;
    color: #333;
}
.wcce-status--ok {
    background-color: #e0f2f1;
    color: #333;
}
a.wcce-cancel.button {
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.4;
}
@media (max-width: 600px) {
    .wcce-table th,
    .wcce-table td {
        font-size: 13px;
        padding: 6px 4px;
    }
    a.wcce-cancel.button {
        padding: 3px 8px;
        font-size: 12px;
    }
}
.wc-deposit-option { margin: 8px 0 16px; }
.wc-deposit-option__label { display: flex; align-items: center; gap: 8px; }
.wc-deposit-option__checkbox { flex: 0 0 auto; }
.wc-deposit-option__text { display: inline-block; }
.wcce-table { width: 100%; border-collapse: collapse; }
.wcce-status { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 13px; line-height: 1.4; }
.wcce-status--pending { background-color: #ffecb3; color: #333; }
.wcce-status--ok { background-color: #e0f2f1; color: #333; }
a.wcce-cancel.button { padding: 4px 10px; font-size: 13px; line-height: 1.4; }

@media (max-width: 600px) {
    .wcce-table th, .wcce-table td { font-size: 13px; padding: 6px 4px; }
    a.wcce-cancel.button { padding: 3px 8px; font-size: 12px; }
}
.wc-block-product-template__responsive>li,
.wc-block-product .wc-block-components-product-image,
.wc-block-product .wc-block-grid__product-image,
.wc-block-product .wp-block-woocommerce-product-image {
    position: relative;
}
.wc-children-association {
    position: absolute;
    top: 20px;
    z-index: 1;
    pointer-events: none;
}
.wc-children-association__item {
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 18px;
    border-radius: 3px;
    display: inline-block;
    white-space: nowrap;
}
.wc-children-event-checkin .wc-children-checkin-button {
    margin-top: 5px;
}
.wc-children-qr-wrapper {
    max-width: 480px;
    margin: 20px auto;
    background: #fff;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    border-radius: 6px;
}
.wc-children-qr-wrapper h1 {
    font-size: 20px;
    margin: 0 0 10px;
}
#wc-children-qr-video {
    width: 100%;
    max-height: 320px;
    background: #000;
    border-radius: 4px;
}
#wc-children-qr-status {
    margin-top: 10px;
    font-size: 14px;
}
#wc-children-qr-file {
    margin-top: 12px;
}
.wc-children-qr-small {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}
.wc-children-qr-buttons {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.wc-children-qr-buttons button {
    cursor: pointer;
}
.woocommerce-page table.shop_table.shop_table.wc-children-product-children {
    width: 100%;
}
a.button.wg_export_pdf {
    background: #c62828;
    color: #ffffff !important;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
a.button.wg_export_pdf:hover {
    background: #b71c1c;
    color: #ffffff !important;
}
a.button.wg-download-diploma {
    background: #fbc02d;
    color: #000000 !important;
    font-weight: normal;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
a.button.wg-download-diploma:hover {
    background: #f9a825;
    color: #000000 !important;
}
.wc-children-qr-result {
    max-width: 480px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    border-radius: 6px;
}
.wc-children-qr-result h1 {
    margin: 0 0 15px;
    font-size: 22px;
}
.wc-children-qr-result p {
    margin: 6px 0;
    font-size: 14px;
}
.wc-qr-success {
    color: #2e7d32;
}
.wc-qr-error {
    color: #c62828;
}
.wc-children-back-link {
    display:inline-block;
    margin-top:15px;
    padding:8px 14px;
    background:#2271b1;
    color:#fff !important;
    border-radius:4px;
    text-decoration:none !important;
}
.wc-children-back-link:hover {
    background:#135e96;
}
button.button.wcce-transfer-toggle {
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0;
}
.wcce-transfer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}
.wcce-transfer-card {
    background: #fff;
    border: 2px solid #e2e2e2;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition:
            border-color .2s ease,
            box-shadow .2s ease,
            transform .15s ease;
}
.wcce-transfer-card:hover {
    border-color: #0071a1;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.wcce-transfer-card.is-selected {
    border-color: #0071a1 !important;
    box-shadow: 0 0 0 3px rgba(0,113,161,0.4);
    transform: translateY(-3px);
}
.wcce-transfer-card-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.wcce-transfer-card-title {
    font-size: 17px;
    font-weight: 700;
    margin-top: 12px;
}
.wcce-transfer-card-start {
    font-size: 14px;
    margin-top: 5px;
    color: #666;
}
.wcce-transfer-card-price {
    font-size: 16px;
    margin-top: 10px;
    font-weight: 600;
}
@media (max-width: 600px) {
    .wcce-transfer-grid {
        grid-template-columns: 1fr;
    }
}
.wcce-transfer-summary-inner {
    background: #ffffff;
    border: 2px solid #e2e2e2;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.wcce-transfer-summary-inner p {
    margin: 8px 0;
    font-size: 15px;
}
.wcce-transfer-summary-inner ul {
    margin: 12px 0;
    padding-left: 20px;
}
.wcce-transfer-summary-inner ul li {
    margin-bottom: 6px;
    font-size: 14px;
}
.wcce-transfer-payment-options > div {
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    background: #fafafa;
}
.wc-children-transfer-deposit .wc-deposit-option__text {
    font-size: 14px;
    line-height: 1.4;
}
.wc-wallet-box {
    font-size: 14px;
}
.wc-wallet-box .wallet-balance {
    font-weight: 600;
    margin-bottom: 10px;
}
.wc-wallet-box label {
    cursor: pointer;
}
.wc-wallet-box .wallet-manual {
    margin-top: 6px;
}
.wc-wallet-box .wallet-manual input[type="number"] {
    width: 100%;
    max-width: 160px;
    padding: 6px 10px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
}
.wcce-transfer-submit.button {
    font-size: 15px !important;
    padding: 10px 20px;
    border-radius: 6px;
}
@media (max-width: 600px) {
    .wcce-transfer-summary-inner {
        padding: 16px;
    }
}
.wc-wallet-box.wallet-pay {
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    margin: 15px 0 1rem 0;
    font-size: .92em;
    border-radius: 2px;
    line-height: 1.5;
    background-color: #dcd7e2;
    color: #515151;
}
.wc-children-picker-box{
    border:1px solid #e5e5e5;
    padding:12px;
    margin-bottom:12px;
    border-radius:4px;
}
.wc-children-hint{
    font-size:12px;
    color:#666;
    margin:6px 0 0;
}

.wc-wallet-box{
    background:#f9f9f9;
    padding:15px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:14px;
    margin:10px 0
}
.wc-wallet-box .wallet-balance{
    font-weight:600;
    margin-bottom:6px
}
.wc-wallet-box .wallet-manual{
    margin-top:6px;
    display:none
}
.wc-wallet-box .wallet-manual input{
    width:100%;
    max-width:120px
}
.wcce-status--on-hold {
    color: #a46497;
    font-weight: 600;
}
.wc-field-span2 {
    grid-column: span 2;
}
.wc-field textarea{
    border-color:#ccc;
}
.wc-children-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wc-children-tab-title {
    margin: 0;
}

.wc-children-product-tab .shop_table {
    width: 100%;
}

.wg_export_pdf,
.wg-download-diploma {
    text-decoration: none;
}
.wc-children-picker-box {
    margin-bottom: 1.5em;
}

.wc-children-picker-fieldset {
    border: 1px solid #ddd;
    padding: 0.75em 1em 1em;
    margin: 0;
}

.wc-children-picker-title {
    font-weight: 600;
    margin: 0 0 0.5em;
    font-size: 1em;
}

.wc-children-checklist {
    display: block;
}

.wc-children-checklist-item {
    margin: 0.25em 0;
    display: flex;
    align-items: center;
    gap: 0.35em;
}

.wc-children-checklist-label {
    margin: 0;
}

.wc-children-hint {
    margin-top: 0.5em;
    font-size: 0.9em;
}
