body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    margin: 0;
    padding: 40px 20px;
    min-height: 100vh;
    color: #e6e6e6;
}

.challenge-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(79, 158, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #4f9eff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #8b949e;
    font-size: 16px;
    margin-top: 12px;
    font-weight: 400;
}

.section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(37, 45, 61, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    border: 1px solid rgba(79, 158, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.stat-card {
    background: rgba(79, 158, 255, 0.05);
    border: 1px solid rgba(79, 158, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 158, 255, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #4f9eff;
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #8b949e;
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #e6e6e6;
    font-size: 16px;
    letter-spacing: 0.3px;
}

input[type="text"], select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(79, 158, 255, 0.2);
    border-radius: 12px;
    background: rgba(79, 158, 255, 0.05);
    color: #e6e6e6;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus, select:focus {
    outline: none;
    border-color: #4f9eff;
    background: rgba(79, 158, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(79, 158, 255, 0.1);
}

input[type="text"]::placeholder {
    color: #6b7280;
}

.primary-btn, .secondary-btn, .danger-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 8px;
    min-width: 140px;
}

.primary-btn {
    background: #456882;
    color: white;
    
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(168, 72, 21, 0.4);
}

.secondary-btn {
    background: linear-gradient(135deg, #007bff 0%, #4f9eff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 158, 255, 0.3);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 158, 255, 0.4);
}

.danger-btn {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b7a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.danger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.progress-bar-container {
    background: rgba(79, 158, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(79, 158, 255, 0.2);
    height: 12px;
    margin: 20px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    width: 0;
    transition: width 0.5s ease;
    border-radius: 12px;
}

.toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 28px;
    border-radius: 12px;
    color: white;
    display: none;
    font-weight: 500;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.toast-message.show {
    display: block;
}

.toast-message.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.toast-message.warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
}

.toast-message.info {
    background: linear-gradient(135deg, #007bff 0%, #4f9eff 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .challenge-container {
        padding: 24px;
        margin: 0 10px;
    }

    .header h1 {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section {
        padding: 20px;
        margin: 24px 0;
    }

    .primary-btn, .secondary-btn, .danger-btn {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 120px;
    }
}
#new-challenge{
    border: 3px solid white;
    border-radius: 10px;
    padding: 10px;
    color: #55cddd;
    text-decoration: none;
}
#new-challenge:hover{
    background-color: #55cddd;
    color: white;
    transition: 0.5s;
}