/* 1. WRAPPER */
.se-earnings-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    padding: 0 5px;
    overflow: visible;
}

/* 2. CAROUSEL CONTAINER */
.se-swiper-container {
    padding: 10px 5px 25px 5px !important;
    height: auto !important;
    overflow: hidden; 
}
.swiper-wrapper { height: auto !important; align-items: flex-start !important; }
.swiper-slide { height: auto !important; display: flex; justify-content: center; }

/* 3. REWARD CARD */
.se-reward-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px 10px;
    text-align: center;
    width: 100%;
    min-height: 180px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    border: 1px solid #f0f0f0;
}

/* Icons & Text */
.se-card-icon { font-size: 2.5em; margin-bottom: 5px; line-height: 1; }
.se-card-amount { font-size: 1.4em; font-weight: 800; color: #4a0e8f; margin: 4px 0; }
.se-card-label { font-size: 0.7em; text-transform: uppercase; letter-spacing: 0.5px; color: #888; font-weight: 600; margin-bottom: 8px; }

/* Status Styles */
.se-card-locked { background: #fcfcfc; opacity: 0.8; }
.se-card-locked .se-card-status { background: #eee; color: #999; padding: 3px 10px; border-radius: 12px; font-size: 0.75em; font-weight: bold; }

.se-card-unlocking { background: #fff; border: 2px solid #FFD700; }
.se-card-unlocking .se-card-status { background: #fff8e1; color: #b58900; padding: 3px 10px; border-radius: 12px; font-size: 0.75em; font-weight: bold; border: 1px solid #FFD700; }

.se-card-unlocked { border: 2px solid #4a0e8f; }
.se-card-unlocked .se-card-status { background: #27ae60; color: #fff; padding: 3px 12px; border-radius: 12px; font-size: 0.75em; font-weight: bold; }

/* 4. BALANCE HEADER */
.se-balance-header {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-top: 0;
    border: none;
}
.se-balance-header h3 { font-size: 0.8em; color: #777; margin: 0; text-transform: uppercase; }
.se-big-amount { font-size: 2.2em; font-weight: 900; color: #333; margin: 0; line-height: 1.2; }
.se-meta-info span { display: inline-block; padding: 3px 8px; background: #f0f0f0; border-radius: 10px; font-size: 0.75em; margin: 0 3px; color: #555; }

/* 5. WITHDRAWAL SECTION (Tweaked for Alignment) */
.se-withdrawal-section {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 12px;
}
.se-withdrawal-section h4 { margin: 0 0 15px 0; color: #4a0e8f; font-size: 1.1em; font-weight: 600; }

/* Flex row for M-Pesa Label and Number */
.se-mpesa-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.se-mpesa-row label {
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}
.se-mpesa-row input {
    width: 180px;
    text-align: right;
    background: #fdfdfd;
    border: 1px solid #ddd;
    color: #555;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95em;
    /* No bold border on hover */
    outline: none;
    transition: border-color 0.2s;
}
.se-mpesa-row input:focus { border-color: #aaa; }

/* Flex row for Amount Input and Button */
.se-action-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.se-action-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    outline: none;
}
/* Yellow Button */
.se-action-row button {
    background: #FFD700 !important;
    color: #000 !important;
    border: none !important;
    font-weight: bold !important;
    padding: 0 25px !important;
    border-radius: 6px !important;
    cursor: pointer;
    font-size: 0.95em !important;
    text-transform: capitalize;
}
.se-action-row button:hover { opacity: 0.9; }

/* Misc */
.se-locked-notice { background: #fff3cd; color: #856404; padding: 10px; border-radius: 8px; text-align: center; font-size: 0.85em; }
.se-progress-bar { height: 6px; background: #e9ecef; margin-top: 5px; border-radius: 3px; }
.se-progress-fill { height: 100%; background: #FFD700; }
.swiper-pagination-bullet-active { background: #4a0e8f !important; }
.se-notice { margin-top: 15px; padding: 10px; border-radius: 6px; text-align: center; font-size: 0.9em; }
.se-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.se-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* LOGIN CTA STYLES */
.se-login-cta {
    text-align: center;
    padding: 20px 10px;
    margin-bottom: 10px;
}
.se-login-cta h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #4a0e8f; /* Purple */
    font-size: 1.1em;
}
.se-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.se-btn-login, .se-btn-register {
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
}
.se-btn-login {
    background: #fff;
    border: 2px solid #4a0e8f;
    color: #4a0e8f;
}
.se-btn-login:hover {
    background: #4a0e8f;
    color: #fff;
}
.se-btn-register {
    background: #FFD700;
    border: 2px solid #FFD700;
    color: #333;
}
.se-btn-register:hover {
    background: #e6c200;
    border-color: #e6c200;
}