/* Google Font – Inter (καθαρή, μοντέρνα γραμματοσειρά) */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

.custom-dashboard-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8fafc;
    border-radius: 5px;
    padding: 30px 30px 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid #d4e0ec;
}

/* ----- Κεφαλίδα ----- */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1B3A62;
}
.dashboard-header .greeting {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dashboard-header .greeting .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1B3A62;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #0F2A44;
}
.dashboard-header .greeting .greeting-text h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0F2A44;
}
.dashboard-header .greeting .greeting-text p {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #4a6a8a;
}
.dashboard-header .logout-link {
    color: #4a6a8a;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 5px;
    border: 1px solid #b0c8dd;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dashboard-header .logout-link:hover {
    background: #1B3A62;
    border-color: #1B3A62;
    color: #ffffff;
}
.dashboard-header .logout-link:hover i {
    color: #ffffff;
}

/* ----- Κύριοι Tabs ----- */
.custom-dashboard-tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid #1B3A62;
    gap: 0;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    padding: 0 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.custom-dashboard-tabs .nav-item {
    margin: 0 8px -3px 0;
}
.custom-dashboard-tabs .nav-item a {
    display: block;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #4a6a8a;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    background: transparent;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
}
.custom-dashboard-tabs .nav-item a i {
    margin-right: 10px;
    font-size: 1rem;
    color: #4a6a8a;
}
.custom-dashboard-tabs .nav-item a:hover {
    color: #0F2A44;
    background: #f0f4f8;
    border-bottom-color: #1B3A62;
}
.custom-dashboard-tabs .nav-item.active a {
    color: #0F2A44;
    border-bottom-color: #1B3A62;
    background: #ffffff;
    font-weight: 700;
}
.custom-dashboard-tabs .nav-item.active a i {
    color: #1B3A62;
}

/* ----- Tab Panes ----- */
.custom-dashboard-tabs .tab-content {
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    padding: 28px 24px 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #d4e0ec;
    border-top: none;
}
.custom-dashboard-tabs .tab-content .tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.custom-dashboard-tabs .tab-content .tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ----- Υπο-καρτέλες (Betting Tools) ----- */
.sub-tabs-wrapper {
    margin-bottom: 24px;
}
.sub-tabs-wrapper .sub-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #1B3A62;
    gap: 0;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
    padding: 0 8px;
}
.sub-tabs-wrapper .sub-nav-item {
    margin: 0 4px -2px 0;
}
.sub-tabs-wrapper .sub-nav-item a {
    display: block;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #4a6a8a;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    background: transparent;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
}
.sub-tabs-wrapper .sub-nav-item a i {
    margin-right: 6px;
    font-size: 0.9rem;
    color: #4a6a8a;
}
.sub-tabs-wrapper .sub-nav-item a:hover {
    color: #0F2A44;
    background: #f0f4f8;
    border-bottom-color: #1B3A62;
}
.sub-tabs-wrapper .sub-nav-item.active a {
    color: #0F2A44;
    border-bottom-color: #1B3A62;
    background: #ffffff;
    font-weight: 600;
}
.sub-tabs-wrapper .sub-nav-item.active a i {
    color: #1B3A62;
}
.sub-tabs-wrapper .sub-tab-content {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    padding: 20px 16px;
    border: 1px solid #d4e0ec;
    border-top: none;
    min-height: 200px;
}
.sub-tabs-wrapper .sub-tab-content .sub-tab-pane {
    display: none;
    animation: fadeIn 0.25s ease;
}
.sub-tabs-wrapper .sub-tab-content .sub-tab-pane.active {
    display: block;
}

/* ----- Placeholders (κενές καρτέλες & εργαλεία) ----- */
.tab-placeholder,
.tool-placeholder {
    text-align: center;
    padding: 50px 20px;
    background: #f8fafc;
    border-radius: 5px;
    border: 2px dashed #b0c8dd;
    transition: background 0.2s;
}
.tab-placeholder:hover,
.tool-placeholder:hover {
    background: #f0f4f8;
}
.tab-placeholder i,
.tool-placeholder i {
    font-size: 3rem;
    color: #1B3A62;
    margin-bottom: 16px;
    display: block;
    opacity: 0.7;
}
.tab-placeholder h4,
.tool-placeholder h5 {
    font-weight: 600;
    color: #0F2A44;
    margin: 0 0 8px;
    font-size: 1.2rem;
}
.tab-placeholder p,
.tool-placeholder p {
    margin: 0;
    color: #4a6a8a;
    font-size: 0.95rem;
}
.tab-placeholder .shortcode-hint,
.tool-placeholder .shortcode-hint {
    display: inline-block;
    margin-top: 18px;
    background: #e2ecf5;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: #1B3A62;
    font-family: monospace;
    letter-spacing: 0.3px;
}

/* ----- Κάρτα λογαριασμού ----- */
.user-info-card {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid #d4e0ec;
}
.user-info-card h3 {
    background: #f0f4f8;
    margin: 0;
    padding: 18px 24px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F2A44;
    border-bottom: 1px solid #d4e0ec;
}
.user-info-card h3 i {
    color: #1B3A62;
    margin-right: 10px;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr {
    border-bottom: 1px solid #f0f4f8;
}
.info-table tr:last-child {
    border-bottom: none;
}
.info-table td {
    padding: 16px 24px;
    vertical-align: middle;
}
.info-label {
    width: 38%;
    font-weight: 500;
    color: #1B3A62;
    background: #fcfcfd;
}
.info-label i {
    margin-right: 10px;
    color: #1B3A62;
    width: 18px;
    text-align: center;
}
.info-value {
    color: #0F2A44;
    font-weight: 500;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-active { background: #e6f7e6; color: #2e7d32; }
.status-inactive { background: #ffebee; color: #c62828; }
.status-pending { background: #fff3e0; color: #ed6c02; }
.status-expired { background: #eceff1; color: #546e7a; }
.status-unknown { background: #f3f4f6; color: #6b7280; }

/* ----- Pricing Card ----- */
.pricing-card {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid #d4e0ec;
    overflow: hidden;
    margin-top: 12px;
}
.pricing-header {
    background: #1B3A62;
    padding: 24px;
    text-align: center;
    color: white;
}
.pricing-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.pricing-header p {
    margin: 6px 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
}
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 12px 0 4px;
    line-height: 1;
}
.price small {
    font-size: 1rem;
    font-weight: 500;
}
.features-list {
    padding: 24px 24px 12px;
    list-style: none;
    margin: 0;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: 0.95rem;
    color: #1e293b;
}
.features-list li:last-child {
    border-bottom: none;
}
.features-list i {
    color: #1B3A62;
    width: 24px;
    font-size: 1.1rem;
    text-align: center;
}
.terms-area {
    padding: 0 24px 16px;
    text-align: center;
}
.terms-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 10px 20px;
    border-radius: 60px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    border: 1px solid #b0c8dd;
    transition: all 0.2s;
}
.terms-label:hover {
    background: #f0f4f8;
}
.terms-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1B3A62;
}
.payment-btn-wrapper {
    padding: 0 24px 24px;
    text-align: center;
}
.payment-btn-wrapper .swpm-payment-button-wrapper {
    display: inline-block;
}
.payment-btn-wrapper .swpm-payment-button-wrapper > * {
    transition: opacity 0.2s;
    pointer-events: none;
    opacity: 0.6;
}
.payment-btn-wrapper .swpm-payment-button-wrapper.enabled > * {
    pointer-events: auto;
    opacity: 1;
}
.swpm-payment-button-wrapper input, 
.swpm-payment-button-wrapper a {
    background: #f97316 !important;
    border: none !important;
    padding: 14px 40px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border-radius: 60px !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(249,115,22,0.4);
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.swpm-payment-button-wrapper input:hover,
.swpm-payment-button-wrapper a:hover {
    background: #ea580c !important;
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(249,115,22,0.5);
}
.subscription-warning {
    background: #fff9e6;
    border-left: 4px solid #f97316;
    padding: 12px 20px;
    margin: 12px 24px 20px;
    border-radius: 16px;
    font-size: 0.85rem;
    color: #7c5e3a;
    display: flex;
    align-items: center;
    gap: 12px;
}
.premium-message-card {
    background: #e8f5e9;
    border-radius: 5px;
    padding: 28px;
    text-align: center;
    margin: 16px 0;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.premium-message-card i {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
    color: #2e7d32;
}
.premium-message-card h3 {
    margin: 0 0 6px;
    font-weight: 600;
    color: #0F2A44;
}
.premium-message-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-dashboard-wrapper {
        padding: 16px;
        margin: 16px;
        border-radius: 5px;
    }
    .dashboard-header .greeting .avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .dashboard-header .greeting .greeting-text h2 {
        font-size: 1.2rem;
    }
    .custom-dashboard-tabs .nav-tabs {
        padding: 0 8px;
    }
    .custom-dashboard-tabs .nav-item {
        margin: 0 4px -3px 0;
    }
    .custom-dashboard-tabs .nav-item a {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .custom-dashboard-tabs .nav-item a i {
        margin-right: 4px;
    }
    .custom-dashboard-tabs .tab-content {
        padding: 20px 16px;
    }
    .sub-tabs-wrapper .sub-nav-item a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .info-table td {
        padding: 12px 16px;
    }
    .info-label {
        width: 40%;
        font-size: 0.9rem;
    }
    .pricing-header h2 {
        font-size: 1.4rem;
    }
    .price {
        font-size: 2.4rem;
    }
    .features-list li {
        font-size: 0.9rem;
    }
    .tab-placeholder,
    .tool-placeholder {
        padding: 30px 16px;
    }
    .tab-placeholder i,
    .tool-placeholder i {
        font-size: 2.5rem;
    }
    .tab-placeholder h4,
    .tool-placeholder h5 {
        font-size: 1rem;
    }
    .swpm-payment-button-wrapper input, 
    .swpm-payment-button-wrapper a {
        padding: 12px 28px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .custom-dashboard-wrapper {
        padding: 12px;
        margin: 10px;
    }
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .dashboard-header .greeting .greeting-text h2 {
        font-size: 1.1rem;
    }
    .custom-dashboard-tabs .nav-item a {
        font-size: 0.75rem;
        padding: 10px 8px;
    }
    .custom-dashboard-tabs .nav-item a i {
        margin-right: 3px;
        font-size: 0.8rem;
    }
    .custom-dashboard-tabs .tab-content {
        padding: 16px 12px;
    }
    .sub-tabs-wrapper .sub-nav-item a {
        font-size: 0.7rem;
        padding: 6px 8px;
    }
    .swpm-payment-button-wrapper input, 
    .swpm-payment-button-wrapper a {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}