/* ===========================
   OAS — My Account Styling
   Matches Order Menu UI
=========================== */

/* ---------- page background ---------- */
.woocommerce-account .site-content {
    background: #141414;
}

/* ---------- remove ALL Astra account wrappers ---------- */
.woocommerce-account .ast-container,
.woocommerce-account .woocommerce {
    background: transparent;
    border: none;
}

/* ---------- account navigation wrapper ---------- */
.woocommerce-MyAccount-navigation {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* remove Astra list container styling */
.woocommerce-MyAccount-navigation ul {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 0 20px 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

/* ---------- navigation pills ---------- */
.woocommerce-MyAccount-navigation li {
    border: none;
    background: transparent;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px 14px;
    background: #292929;
    border: none;
    border-radius: 10px;
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 600;
    transition: background .12s ease, transform .08s ease;
}

/* hover */
.woocommerce-MyAccount-navigation li a:hover {
    background: #333;
    transform: translateY(-1px);
}

/* active */
.woocommerce-MyAccount-navigation li.is-active a {
    background: #10aec3;
    color: #ffffff;
}

/* ---------- main content card ---------- */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 14px;
    color: #e6e6e6;
    border: none;
}

/* ---------- headings ---------- */
.woocommerce-account h2,
.woocommerce-account h3 {
    color: #c2c2c0;
    margin-bottom: 12px;
}

/* ---------- form fields ---------- */
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account select {
    width: 100%;
    padding: 10px 12px;
    background: #292929;
    border: 1px solid #444;
    color: #e6e6e6;
    border-radius: 6px;
    font-size: 15px;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus {
    outline: none;
    border-color: #aaa;
    box-shadow: 0 0 0 3px rgba(16,174,195,0.08);
}

/* ==============================
   OAS — Account Details Labels
   ============================== */

/* Field labels */
.woocommerce-account .woocommerce-form-row label,
.woocommerce-account .form-row label {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

/* Required asterisk */
.woocommerce-account .form-row label .required {
    color: #10aec3;
}

/* Help text below fields */
.woocommerce-account .woocommerce-form-row span.description,
.woocommerce-account .form-row span.description {
    color: #b5b5b5;
    font-size: 13px;
}

/* Section headings inside forms */
.woocommerce-account .woocommerce-MyAccount-content legend,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #c2c2c0;
}

/* ---------- buttons ---------- */
.woocommerce-account .button,
.woocommerce-account button.button {
    background: #3a7afe;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 16px;
    border: none;
    box-shadow: none;
    transition: background .12s ease, transform .08s ease;
}

.woocommerce-account .button:hover {
    background: #1d5de0;
    transform: translateY(-1px);
}

/* ---------- Woo notices ---------- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background: #292929;
    border-left: 4px solid #10aec3;
    color: #e6e6e6;
    border-radius: 8px;
}

/* ==============================
   OAS — My Children Cards
   ============================== */

.woocommerce-account .oas-children-cards {
    display: grid;
    gap: 12px;
}

.woocommerce-account .oas-child-card {
    background: linear-gradient(135deg, #0f766e, #115e59);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.woocommerce-account .oas-child-info {
    flex: 1;
    min-width: 0;
}

.woocommerce-account .oas-child-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}

.woocommerce-account .oas-child-meta {
    margin-top: 6px;
    font-size: 14px;
    color: #ffffff; /* ← Grade / Class text */
    opacity: 0.9;
}

/* Buttons */
.woocommerce-account .oas-child-card .button {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
}

.woocommerce-account .oas-child-card .button:hover {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}

.woocommerce-account .oas-child-card .button[name="oasiseat_delete_child"] {
    background: rgba(255, 80, 80, 0.25);
}

.woocommerce-account .oas-child-card .button[name="oasiseat_delete_child"]:hover {
    background: rgba(255, 80, 80, 0.4);
}


/* ---------- responsive tweaks ---------- */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 14px;
    }
}

@media (min-width: 700px) {
    .woocommerce-account .oas-children-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .woocommerce-account .oas-children-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
