/* Apple-Inspired WooCommerce Account Pages */


/* My Account Navigation */
.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 16px;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: center;
    letter-spacing: -0.01em;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #0071e3;
    color: #ffffff;
}

/* My Account Content */
.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
    line-height: 1.125;
}

.woocommerce-MyAccount-content h3 {
    font-size: 24px;
    margin: 32px 0 16px 0;
}

/* Paragraphs */
.woocommerce-MyAccount-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #1d1d1f;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

/* Forms */
.woocommerce-MyAccount-content form {
    margin: 24px 0 0 0;
}

.woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content textarea,
.woocommerce-MyAccount-content select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    background: #ffffff;
    color: #1d1d1f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    letter-spacing: -0.01em;
}

.woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-MyAccount-content input[type="password"]:focus,
.woocommerce-MyAccount-content input[type="tel"]:focus,
.woocommerce-MyAccount-content textarea:focus,
.woocommerce-MyAccount-content select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Buttons */
.woocommerce-MyAccount-content button,
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content input[type="submit"] {
    background: #0071e3;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 980px;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: -0.01em;
    display: inline-block;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.woocommerce-MyAccount-content button:hover,
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover {
    background: #0077ed;
}

.woocommerce-MyAccount-content .button.delete {
    background: #d60000;
}

.woocommerce-MyAccount-content .button.delete:hover {
    background: #e00000;
}

/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0 0 0;
}

.woocommerce-orders-table thead {
    background: #f5f5f7;
    border-radius: 12px 12px 0 0;
}

.woocommerce-orders-table th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    border-bottom: 1px solid #d2d2d7;
    letter-spacing: -0.01em;
}

.woocommerce-orders-table th:first-child {
    border-radius: 12px 0 0 0;
}

.woocommerce-orders-table th:last-child {
    border-radius: 0 12px 0 0;
}

.woocommerce-orders-table td {
    padding: 16px;
    font-size: 14px;
    color: #1d1d1f;
    border-bottom: 1px solid #f5f5f7;
    letter-spacing: -0.01em;
}

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

.woocommerce-orders-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.woocommerce-orders-table tbody tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

.woocommerce-orders-table tbody tr {
    transition: background 0.2s ease;
}

.woocommerce-orders-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.woocommerce-orders-table .button {
    padding: 8px 16px;
    font-size: 12px;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

.woocommerce-orders-table mark {
    background: transparent;
    color: inherit;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.02em;
}

.woocommerce-orders-table mark.status-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.woocommerce-orders-table mark.status-processing {
    background: #e3f2fd;
    color: #1565c0;
}

.woocommerce-orders-table mark.status-on-hold {
    background: #fff3e0;
    color: #ef6c00;
}

.woocommerce-orders-table mark.status-cancelled,
.woocommerce-orders-table mark.status-failed {
    background: #ffebee;
    color: #c62828;
}

/* Addresses */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 24px 0 0 0;
}

.woocommerce-Address {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 24px;
}

.woocommerce-Address-title h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #1d1d1f;
}

.woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: #1d1d1f;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.woocommerce-Address .button {
    padding: 8px 16px;
    font-size: 12px;
}

/* Downloads */
.woocommerce-orders-table--downloads tbody tr {
    background: #f5f5f7;
}

.woocommerce-orders-table--downloads tbody tr:nth-child(even) {
    background: #ffffff;
}

/* Login / Register Forms */
.woocommerce-form-login,
.woocommerce-form-register {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 32px 0;
    color: #1d1d1f;
}

.woocommerce-form-login .woocommerce-form-row,
.woocommerce-form-register .woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-login .button,
.woocommerce-form-register .button {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
}

.woocommerce-form-login .woocommerce-LostPassword,
.woocommerce-form-login .woocommerce-form-login__rememberme {
    font-size: 12px;
    margin: 12px 0;
}

.woocommerce-form-login .woocommerce-LostPassword a {
    color: #0071e3;
    text-decoration: none;
}

.woocommerce-form-login .woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

/* Messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background: #e3f2fd;
    color: #1d1d1f;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 0 0 24px 0;
    border: none;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.woocommerce-message {
    background: #e8f5e9;
}

.woocommerce-error {
    background: #ffebee;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    display: none;
}

/* Payment Methods */
.woocommerce-PaymentMethods {
    margin: 24px 0 0 0;
}

.woocommerce-PaymentMethod {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-PaymentMethod .button {
    padding: 8px 16px;
    font-size: 12px;
}

/* Empty State */
.woocommerce-message--info {
    text-align: center;
    padding: 40px 20px;
    background: #f5f5f7;
    border-radius: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-page {
        padding: 24px 16px 60px;
    }
    
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-MyAccount-content {
        padding: 24px 20px;
    }
    
    .woocommerce-MyAccount-content h2 {
        font-size: 24px;
    }
    
    .woocommerce-MyAccount-content h3 {
        font-size: 19px;
    }
    
    .woocommerce-orders-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .woocommerce-orders-table thead {
        display: none;
    }
    
    .woocommerce-orders-table tbody,
    .woocommerce-orders-table tr,
    .woocommerce-orders-table td {
        display: block;
    }
    
    .woocommerce-orders-table tr {
        background: #f5f5f7;
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 16px;
    }
    
    .woocommerce-orders-table td {
        padding: 8px 0;
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .woocommerce-orders-table td::before {
        content: attr(data-title);
        position: absolute;
        left: 0;
        font-weight: 600;
        font-size: 12px;
        color: #6e6e73;
    }
    
    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 32px 24px;
    }
}

/* Dashboard */
.woocommerce-MyAccount-content > p:first-child {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #6e6e73;
}

/* Account Details */
.woocommerce-MyAccount-content fieldset {
    border: none;
    padding: 0;
    margin: 32px 0 0 0;
}

.woocommerce-MyAccount-content legend {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}




