:root {
    --eb-primary: #e58e26;
    --eb-primary-hover: #fd7e14;
    --eb-bg: #ffffff;
    --eb-border: #d1d5db;
    --eb-text-main: #373f50;
    --eb-radius-lg: 10px;
    --eb-radius-sm: 10px;
}

/* --- FRONTEND STYLES --- */
#earlybird-stats-container {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    box-sizing: border-box;
    color: var(--eb-text-main);
}

.earlybird-card {
    background: var(--eb-bg);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--eb-radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

.earlybird-header { 
    padding: 24px 20px 10px; 
    text-align: center; 
}

.earlybird-header h3 { 
    margin: 0; 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: var(--eb-text-main); 
}

.earlybird-form-body { 
    padding: 0 24px 32px; 
    display: flex; 
    flex-direction: column; 
}

.earlybird-description { 
    color: var(--eb-text-main); 
    font-size: 1rem; 
    line-height: 1.5; 
    margin: 20px 0 1.5rem 0; 
    text-align: center; 
}

.earlybird-input-field {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 2px solid var(--eb-border);
    border-radius: var(--eb-radius-sm);
    font-size: 16px;
    color: var(--eb-text-main);
    box-sizing: border-box;
}

.earlybird-captcha-wrapper {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    background: #f9fafb;
    border-radius: var(--eb-radius-sm); 
    padding: 12px 16px;
    margin: 1rem 0 1.5rem 0; 
    border: 1px dashed var(--eb-border);
}

.earlybird-captcha-text { 
    font-weight: 600; 
    color: var(--eb-text-main);
}

.earlybird-input-small { 
    width: 80px !important; 
    height: 44px !important; 
    text-align: center;
    padding: 0 !important;
}

.earlybird-submit-btn {
    width: 100%; 
    height: 60px; 
    background: var(--eb-primary);
    color: #ffffff; 
    border: none; 
    border-radius: var(--eb-radius-sm);
    font-size: 1.1rem; 
    font-weight: 700; 
    cursor: pointer;
}

.earlybird-success-msg {
    margin-top: 20px; 
    background: #f0fdf4;
    border: 2px solid #22c55e;
    color: #373f50 !important; 
    padding: 24px;
    border-radius: var(--eb-radius-sm);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    animation: eb-slideIn 0.4s ease-out;
}

.earlybird-error-msg {
    background: #fef2f2; 
    border-left: 4px solid #ef4444;
    color: #b91c1c; 
    padding: 12px 16px; 
    margin-bottom: 1.5rem;
    border-radius: 4px; 
    font-size: 0.9rem; 
    animation: eb-shake 0.4s;
}

.earlybird-border-error { border: 2px solid #ef4444 !important; }

@keyframes eb-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes eb-slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- BACKEND STYLES --- */
.earlybird-admin-wrapper { margin-top: 20px; max-width: 1100px; }
.earlybird-admin-panel { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #e5e7eb; }
.earlybird-admin-row { margin-bottom: 15px; }
.earlybird-admin-row label { display: block; font-weight: 600; margin-bottom: 5px; }
.earlybird-campaign-container { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 25px; overflow: hidden; }
.earlybird-campaign-header { padding: 15px 20px; background: #fff; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5e7eb; }
.earlybird-link-danger { color: #dc2626; font-weight: 600; text-decoration: none; }