/* ==========================================================================
   Giveaway Postback Manager — Theme: Trading Master Academy (Light)
   ---------------------------------------------------------------------------
   Light theme with deep teal accent (#0D6E7E), white/light-gray backgrounds,
   dark text, and soft card shadows — matching the Trading Master Academy site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Banner: [gpm_giveaway_banner]
   -------------------------------------------------------------------------- */

.gpm-banner-wrap {
    background: #F5F5F5;
    border-top: 3px solid #0D6E7E;
}

.gpm-banner-item {
    background: #FFFFFF;
    border-color: #E5E7EB;
    color: #4B5563;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.gpm-banner-item:hover {
    box-shadow: 0 4px 16px rgba(13, 110, 126, 0.12);
    border-color: #0D6E7E;
}

.gpm-banner-title {
    color: #1F2937;
}

.gpm-banner-bar {
    background: #E5E7EB;
}

.gpm-banner-bar-fill {
    background: linear-gradient(90deg, #0D6E7E, #0A5B6A);
}

.gpm-banner-sold {
    color: #6B7280;
}

/* --------------------------------------------------------------------------
   User Tickets: [gpm_user_tickets]
   -------------------------------------------------------------------------- */

.gpm-ticket-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gpm-ticket-giveaway-title,
.gpm-ticket-giveaway-title a {
    color: #1F2937;
}

.gpm-ticket-giveaway-title a:hover {
    color: #0D6E7E;
}

.gpm-ticket-draw-date {
    color: #6B7280;
}

.gpm-ticket-progress-bar {
    background: #E5E7EB;
}

.gpm-ticket-progress-fill {
    background: linear-gradient(90deg, #0D6E7E, #0A5B6A);
}

.gpm-ticket-progress-text {
    color: #6B7280;
}

.gpm-ticket-numbers {
    background: #F9FAFB;
    border-top-color: #E5E7EB;
}

.gpm-ticket-numbers strong {
    color: #1F2937;
}

.gpm-ticket-badge {
    background: #EDF7F9;
    color: #0D6E7E;
    border: 1px solid #B2DDE5;
}

.gpm-login-prompt,
.gpm-no-tickets {
    background: #FFFFFF;
    color: #4B5563;
    border: 1px solid #E5E7EB;
}

.gpm-login-prompt a {
    color: #0D6E7E;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   All Giveaways Grid: [gpm_all_giveaways]
   -------------------------------------------------------------------------- */

.gpm-giveaway-card {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gpm-giveaway-card:hover {
    box-shadow: 0 8px 24px rgba(13, 110, 126, 0.1);
    border-color: #0D6E7E;
}

.gpm-card-link {
    color: #4B5563;
}

.gpm-card-title {
    color: #1F2937;
}

.gpm-card-bar {
    background: #E5E7EB;
}

.gpm-card-bar-fill {
    background: linear-gradient(90deg, #0D6E7E, #0A5B6A);
}

.gpm-card-sold-text {
    color: #6B7280;
}

.gpm-card-draw-date {
    color: #6B7280;
}

.gpm-card-winner {
    background: #EDF7F9;
    color: #0A5B6A;
    border-color: #B2DDE5;
}

.gpm-card-winner-ticket {
    color: #6B7280;
}

.gpm-card-status-closed {
    background: #FEF2F2;
    color: #DC3545;
}

.gpm-card-status-active {
    background: #EDF7F9;
    color: #0D6E7E;
}

/* --------------------------------------------------------------------------
   Draw Status: [gpm_draw_status]
   -------------------------------------------------------------------------- */

.gpm-draw-status-pending {
    background: #EDF7F9;
    color: #1F2937;
    border-left-color: #0D6E7E;
}

.gpm-draw-status-pending strong {
    color: #0A5B6A;
}

.gpm-draw-status-winner {
    background: #FFF8F0;
    color: #1F2937;
    border-left-color: #E8722A;
}

.gpm-draw-status-winner strong {
    color: #C25E1A;
}

/* --------------------------------------------------------------------------
   Ticket Progress: [gpm_ticket_progress]
   -------------------------------------------------------------------------- */

.gpm-ticket-progress-wrap {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gpm-tp-bar-container {
    background: #E5E7EB;
}

.gpm-tp-bar-fill {
    background: linear-gradient(90deg, #0D6E7E, #0A5B6A);
}

.gpm-tp-bar-label {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gpm-tp-stat-value {
    color: #1F2937;
}

.gpm-tp-stat-label {
    color: #6B7280;
}

/* --------------------------------------------------------------------------
   LearnPress Profile: My Tickets Tab
   -------------------------------------------------------------------------- */

.lp-profile-content .gpm-user-tickets {
    padding: 20px 0;
}

.lp-profile-content .gpm-ticket-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.lp-profile-content .gpm-ticket-giveaway-title,
.lp-profile-content .gpm-ticket-giveaway-title a {
    color: #1F2937;
}

.lp-profile-content .gpm-ticket-giveaway-title a:hover {
    color: #0D6E7E;
}

.lp-profile-content .gpm-ticket-draw-date {
    color: #6B7280;
}

.lp-profile-content .gpm-ticket-progress-bar {
    background: #E5E7EB;
}

.lp-profile-content .gpm-ticket-progress-fill {
    background: linear-gradient(90deg, #0D6E7E, #0A5B6A);
}

.lp-profile-content .gpm-ticket-progress-text {
    color: #6B7280;
}

.lp-profile-content .gpm-ticket-numbers {
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.lp-profile-content .gpm-ticket-numbers strong {
    color: #1F2937;
}

.lp-profile-content .gpm-ticket-badge {
    background: #EDF7F9;
    color: #0D6E7E;
    border: 1px solid #B2DDE5;
}

.lp-profile-content .gpm-login-prompt,
.lp-profile-content .gpm-no-tickets {
    background: #FFFFFF;
    color: #4B5563;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.lp-profile-content .gpm-login-prompt a {
    color: #0D6E7E;
    text-decoration: underline;
}

/* Responsive: LP sidebar + content layout adjustments */
@media (max-width: 767px) {
    .lp-profile-content .gpm-user-tickets {
        padding: 12px 0;
    }

    .lp-profile-content .gpm-ticket-card {
        margin-bottom: 12px;
    }
}
