/**
 * My Account Tab Styles
 *
 * @package Anchor_Advantage_Club
 * @since 1.4.0
 */

/* Wrapper */
.aac-my-account-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Welcome Message */
.aac-welcome-message {
    background: #f7f7f7;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Membership Card */
.aac-membership-card {
    background: #fff;
    border: 2px solid #091546;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aac-membership-card h2 {
    margin: 0 0 25px 0;
    color: #091546;
    font-size: 24px;
}

.aac-membership-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.aac-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.aac-info-label {
    font-weight: 600;
    color: #333;
}

.aac-info-value {
    color: #666;
}

.aac-status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.aac-status-active {
    background: #00a32a;
    color: #fff;
}

.aac-status-pending {
    background: #ff9800;
    color: #fff;
}

/* Renewal pricing styles */
.aac-renewal-free {
    font-weight: 700;
    color: #00a32a;
}

.aac-renewal-paid {
    font-weight: 700;
    color: #091546;
}

/* Points Hero Section */
.aac-points-hero {
    background: linear-gradient(135deg, #091546 0%, #3e86f8 100%);
    color: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aac-points-hero h2 {
    margin: 0 0 30px 0;
    font-size: 28px;
    color: #fff;
}

.aac-points-display {
    margin-bottom: 25px;
}

.aac-points-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.aac-points-label {
    font-size: 16px;
    opacity: 0.9;
}

.aac-gift-card-value {
    font-size: 20px;
    margin-bottom: 15px;
}

.aac-gift-card-value strong {
    font-size: 32px;
    font-weight: 700;
}

.aac-redemption-info {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.aac-conversion-rate {
    font-size: 13px;
    font-style: italic;
}

.aac-days-remaining {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

/* Cashback Explainer */
.aac-cashback-explainer {
    background: #f9f9f9;
    border-left: 4px solid #3e86f8;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.aac-cashback-explainer h3 {
    margin: 0 0 20px 0;
    color: #091546;
    font-size: 22px;
}

.aac-cashback-points {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.aac-cashback-points li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
}

.aac-cashback-points li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #3e86f8;
    font-size: 20px;
}

.aac-personal-schedule {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.aac-personal-schedule h4 {
    margin: 0 0 15px 0;
    color: #091546;
}

.aac-personal-schedule ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aac-personal-schedule li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.aac-personal-schedule li:last-child {
    border-bottom: none;
}

/* Timeline Section */
.aac-timeline-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.aac-timeline-section h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
    color: #091546;
}

.aac-progress-bar-wrapper {
    margin-top: 20px;
}

.aac-progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.aac-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #091546 0%, #3e86f8 100%);
    transition: width 0.3s ease;
}

.aac-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

/* Benefits Section */
.aac-benefits-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.aac-benefits-section h3 {
    margin: 0 0 20px 0;
    color: #091546;
    font-size: 22px;
}

.aac-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.aac-benefit-item {
    padding: 12px 0;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.aac-benefit-icon {
    color: #00a32a;
    font-size: 20px;
    font-weight: 700;
}

.aac-benefits-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.aac-link {
    color: #3e86f8;
    text-decoration: underline;
    font-size: 14px;
}

.aac-link:hover {
    color: #091546;
}

/* Activity Table */
.aac-activity-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.aac-activity-section h3 {
    margin: 0 0 10px 0;
    color: #091546;
    font-size: 22px;
}

.aac-activity-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.aac-activity-table-wrapper {
    overflow-x: auto;
}

.aac-activity-table {
    width: 100%;
    border-collapse: collapse;
}

.aac-activity-table th {
    background: #f7f7f7;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.aac-activity-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.aac-activity-table tbody tr:hover {
    background: #f9f9f9;
}

.aac-activity-table a {
    color: #3e86f8;
    text-decoration: none;
}

.aac-activity-table a:hover {
    text-decoration: underline;
}

.aac-view-more {
    text-align: center;
    margin-top: 15px;
}

.aac-view-full-history {
    color: #3e86f8;
    font-weight: 600;
    text-decoration: none;
}

.aac-view-full-history:hover {
    text-decoration: underline;
}

.aac-no-orders .woocommerce-info {
    margin: 20px 0 0 0;
}

/* Important Dates Callout */
.aac-dates-callout {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.aac-callout-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.aac-callout-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.aac-callout-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aac-callout-content li {
    padding: 8px 0;
    line-height: 1.6;
}

/* Gift Card History */
.aac-gift-card-history {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.aac-gift-card-history h3 {
    margin: 0 0 20px 0;
    color: #091546;
    font-size: 22px;
}

.aac-history-table {
    width: 100%;
    border-collapse: collapse;
}

.aac-history-table th {
    background: #f7f7f7;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.aac-history-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

/* Quick Links */
.aac-quick-links {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 25px 30px;
}

.aac-quick-links h3 {
    margin: 0 0 15px 0;
    color: #091546;
    font-size: 20px;
}

.aac-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aac-quick-links li {
    padding: 8px 0;
}

.aac-quick-links a {
    color: #3e86f8;
    text-decoration: none;
    font-size: 15px;
}

.aac-quick-links a:hover {
    text-decoration: underline;
}

.aac-renewal-link {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .aac-membership-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .aac-points-hero {
        padding: 40px 25px;
    }

    .aac-points-number {
        font-size: 56px;
    }

    .aac-dates-callout {
        flex-direction: column;
    }

    .aac-callout-icon {
        font-size: 32px;
    }

    .aac-activity-table {
        font-size: 14px;
    }

    .aac-activity-table th,
    .aac-activity-table td {
        padding: 8px;
    }
}

/* Signup CTA for Non-Members */
.aac-signup-cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.aac-cta-hero {
    background: linear-gradient(135deg, #091546 0%, #3e86f8 100%);
    color: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aac-cta-hero h2 {
    margin: 0 0 15px 0;
    font-size: 36px;
    color: #fff;
}

.aac-cta-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

.aac-cta-benefits {
    background: #fff;
    border: 2px solid #091546;
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 30px;
}

.aac-cta-benefits h3 {
    margin: 0 0 25px 0;
    color: #091546;
    font-size: 24px;
}

.aac-cta-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aac-cta-benefits-list li {
    padding: 15px 0;
    font-size: 18px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.aac-cta-benefits-list li:last-child {
    border-bottom: none;
}

.aac-cta-icon {
    color: #00a32a;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.aac-cta-action {
    text-align: center;
    padding: 30px;
    background: #f7f7f7;
    border-radius: 8px;
}

.aac-join-button {
    background: #3e86f8 !important;
    color: #fff !important;
    font-size: 20px !important;
    padding: 18px 40px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none !important;
}

.aac-join-button:hover {
    background: #091546 !important;
    color: #fff !important;
}

.aac-cta-note {
    margin: 20px 0 0 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Program Details Sections */
.aac-program-details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
}

.aac-program-details h3 {
    margin: 0 0 20px 0;
    color: #091546;
    font-size: 22px;
}

.aac-cashback-explanation,
.aac-pricing-explanation,
.aac-terms-summary,
.aac-timeline-explanation {
    line-height: 1.7;
    color: #333;
}

.aac-cashback-explanation p,
.aac-pricing-explanation p,
.aac-terms-summary p,
.aac-timeline-explanation p {
    margin-bottom: 15px;
}

.aac-detail-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.aac-detail-list li {
    padding: 10px 0 10px 25px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.aac-detail-list li:last-child {
    border-bottom: none;
}

.aac-detail-list li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #3e86f8;
    font-size: 18px;
    font-weight: 700;
}

.aac-pricing-highlight {
    background: #f0f8ff;
    border-left: 4px solid #3e86f8;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.aac-pricing-highlight strong {
    color: #091546;
    font-size: 18px;
}

.aac-example-text {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 4px;
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .aac-cta-hero {
        padding: 35px 25px;
    }

    .aac-cta-hero h2 {
        font-size: 28px;
    }

    .aac-cta-subtitle {
        font-size: 16px;
    }

    .aac-cta-benefits {
        padding: 25px 20px;
    }

    .aac-cta-benefits-list li {
        font-size: 16px;
        padding: 12px 0;
    }

    .aac-join-button {
        font-size: 18px !important;
        padding: 15px 30px !important;
    }

    .aac-program-details {
        padding: 20px;
    }

    .aac-program-details h3 {
        font-size: 20px;
    }
}
