/* ============================================
   GATTCHAA CHALLENGE SYSTEM - ESPORT THEME
   Dark, Elegant, Premium Design
   ============================================ */

/* Main Challenge Container */
#challenges {
    background: linear-gradient(135deg, #1a1410 0%, #2d1f16 100%);
    min-height: 100vh;
    padding: 0;
}

/* Header Banner - Premium Esport Style */
.challenge-header-banner {
    background: linear-gradient(135deg, #3d2817 0%, #6b4423 50%, #8B4513 100%);
    padding: 40px 30px;
    border-radius: 0;
    margin: 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.challenge-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(184, 134, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.challenge-header-banner h1 {
    position: relative;
    z-index: 1;
    margin: 10px 0;
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.challenge-header-banner p {
    position: relative;
    z-index: 1;
    margin: 10px 0 0 0;
    font-size: 16px;
    color: #D4AF37;
    font-weight: 500;
}

/* Stats Cards - Premium Design */
.challenge-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.challenge-stat-card {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.8) 0%, rgba(45, 31, 22, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.challenge-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.05) 100%);
    pointer-events: none;
}

.challenge-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.challenge-stat-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #D4AF37;
}

.challenge-stat-value {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.challenge-stat-card.locked {
    border-color: rgba(255, 193, 7, 0.5);
}

.challenge-stat-card.locked .challenge-stat-value {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* New Challenge Button - Epic Style */
.challenge-new-button-container {
    text-align: center;
    padding: 20px 30px;
}

.challenge-new-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #1a1410;
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 
        0 4px 20px rgba(255, 140, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.challenge-new-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.challenge-new-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 32px rgba(255, 140, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.challenge-new-button:hover::before {
    left: 100%;
}

.challenge-new-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Tabs Container - Premium Dark */
.challenge-tabs-container {
    background: linear-gradient(135deg, rgba(26, 20, 16, 0.95) 0%, rgba(45, 31, 22, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    margin: 0 30px 30px 30px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Tab Headers */
.challenge-tabs-header {
    display: flex;
    background: rgba(0,0,0,0.3);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.challenge-tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #8B7355;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.challenge-tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.challenge-tab-btn:hover {
    color: #D4AF37;
    background: rgba(255, 215, 0, 0.05);
}

.challenge-tab-btn.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.challenge-tab-btn.active::before {
    transform: scaleX(1);
}

/* Tab Content */
.challenge-tab-content {
    padding: 30px;
    min-height: 400px;
}

/* Challenge Card - Epic Esport Design */
.challenge-card {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.6) 0%, rgba(29, 20, 14, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.3);
}

.challenge-card:hover::before {
    left: 100%;
}

.challenge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.challenge-card-title {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.challenge-card-subtitle {
    font-size: 12px;
    color: #B8956A;
    font-weight: 500;
}

/* Status Badges - Premium */
.challenge-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.challenge-status.pending {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    color: #1a1410;
}

.challenge-status.accepted {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.challenge-status.completed {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.challenge-status.cancelled,
.challenge-status.rejected {
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    color: white;
}

/* Info Grid - Dark Elegant */
.challenge-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.challenge-info-item {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-left: 3px solid #D4AF37;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.challenge-info-item:hover {
    background: rgba(0,0,0,0.5);
    border-left-color: #FFD700;
    transform: translateX(5px);
}

.challenge-info-label {
    font-size: 10px;
    color: #B8956A;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.challenge-info-value {
    font-size: 14px;
    color: #FFD700;
    font-weight: 700;
    line-height: 1.4;
}

/* Action Buttons - Epic Style */
.challenge-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.challenge-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.challenge-btn-accept {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    flex: 1;
}

.challenge-btn-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.challenge-btn-reject {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

.challenge-btn-reject:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.challenge-btn-cancel {
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    color: white;
}

.challenge-btn-cancel:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
}

/* Empty State - Dark Elegant */
.challenge-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #8B7355;
}

.challenge-empty-state i {
    font-size: 80px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #8B7355 0%, #6B5A48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
}

.challenge-empty-state h3 {
    font-size: 24px;
    color: #B8956A;
    margin-bottom: 12px;
    font-weight: 700;
}

.challenge-empty-state p {
    font-size: 15px;
    color: #8B7355;
}

/* Loading State */
.challenge-loading {
    text-align: center;
    padding: 60px;
    color: #D4AF37;
}

.challenge-loading i {
    font-size: 48px;
    margin-bottom: 20px;
}

/* EXP Highlight Badges */
.exp-highlight {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.4);
    display: inline-block;
}

.exp-highlight.positive {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.exp-highlight.negative {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

/* Opponent Search Results */
.opponent-result {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.4) 0%, rgba(29, 20, 14, 0.6) 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opponent-result:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.6) 0%, rgba(29, 20, 14, 0.8) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2);
}

.opponent-result.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.opponent-result.disabled:hover {
    transform: none;
    border-color: rgba(212, 175, 55, 0.2);
}

.opponent-result-name {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 6px;
}

.opponent-result-details {
    font-size: 13px;
    color: #B8956A;
}

.opponent-result-status {
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.opponent-result-status.available {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.opponent-result-status.unavailable {
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    color: white;
}

/* Desktop fix: warning on new line */
@media (min-width: 769px) {
    .opponent-result.disabled .opponent-result-status.unavailable {
        flex-basis: 100% !important;
        margin-top: 5px !important;
        text-align: center !important;
    }
}

/* Selected Opponent Display */
.selected-opponent {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.selected-opponent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-opponent-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.selected-opponent-change {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.selected-opponent-change:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .challenge-header-banner h1 {
        font-size: 32px;
    }
    
    .challenge-stats-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .challenge-tabs-container {
        margin: 0 15px 20px 15px;
    }
    
    .challenge-tab-content {
        padding: 20px 15px;
    }
    
    .challenge-card {
        padding: 20px;
    }
    
    .challenge-card-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .challenge-info-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-actions {
        flex-direction: column;
    }
    
    .opponent-result {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.challenge-card {
    animation: fadeInUp 0.4s ease;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ============================================
   MODAL - PREMIUM DARK DESIGN
   ============================================ */

/* Modal Overlay */
#new-challenge-modal {
    backdrop-filter: blur(8px);
}

/* Modal Container */
#new-challenge-modal > div {
    background: linear-gradient(135deg, #1a1410 0%, #2d1f16 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* Modal Header */
#new-challenge-modal .modal-header-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    padding: 30px;
    border-radius: 15px 15px 0 0;
    color: #1a1410;
    position: relative;
}

#new-challenge-modal .modal-header-premium h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#new-challenge-modal .modal-header-premium .modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0,0,0,0.2);
    border: 2px solid rgba(0,0,0,0.3);
    color: #1a1410;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#new-challenge-modal .modal-header-premium .modal-close-btn:hover {
    background: rgba(0,0,0,0.4);
    transform: rotate(90deg);
}

/* Modal Body */
#new-challenge-modal .modal-body-premium {
    padding: 35px;
}

/* Step Headers */
.modal-step-header {
    margin: 0 0 25px 0;
    font-size: 20px;
    color: #FFD700;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-step-number {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1410;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Form Labels */
#new-challenge-modal label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #D4AF37;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Inputs */
#new-challenge-modal input[type="text"],
#new-challenge-modal input[type="number"],
#new-challenge-modal input[type="datetime-local"],
#new-challenge-modal select,
#new-challenge-modal textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    font-size: 15px;
    color: #FFD700;
    transition: all 0.3s ease;
    font-family: inherit;
}

#new-challenge-modal input:focus,
#new-challenge-modal select:focus,
#new-challenge-modal textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

#new-challenge-modal textarea {
    resize: vertical;
    min-height: 80px;
}

#new-challenge-modal input::placeholder,
#new-challenge-modal textarea::placeholder {
    color: #8B7355;
}

/* Small text */
#new-challenge-modal small {
    color: #B8956A;
    font-size: 12px;
    display: block;
    margin-top: 8px;
}

/* Search Button */
#new-challenge-modal .search-btn-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1410;
    border: none;
    padding: 0 28px;
    height: 48px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

#new-challenge-modal .search-btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

/* EXP Calculation Display */
#exp-calculation {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.4) 0%, rgba(29, 20, 14, 0.6) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 12px;
}

#exp-calculation > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #D4AF37;
    font-size: 14px;
}

#exp-calculation strong {
    color: #FFD700;
    font-weight: 700;
}

/* Location Details Display */
#location-details {
    background: linear-gradient(135deg, rgba(61, 40, 23, 0.4) 0%, rgba(29, 20, 14, 0.6) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-top: 12px;
    color: #D4AF37;
    font-size: 13px;
}

#location-details strong {
    color: #FFD700;
}

/* Submit Button */
#submit-challenge-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 16px 50px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    margin-top: 30px;
}

#submit-challenge-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.6);
}

#submit-challenge-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Search Results Container */
#opponent-search-results {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

#opponent-search-results::-webkit-scrollbar {
    width: 8px;
}

#opponent-search-results::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

#opponent-search-results::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
}

/* Form Divider */
#step-challenge-details {
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    padding-top: 30px;
    margin-top: 30px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    #new-challenge-modal > div {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    #new-challenge-modal .modal-header-premium {
        padding: 20px;
    }
    
    #new-challenge-modal .modal-header-premium h2 {
        font-size: 22px;
    }
    
    #new-challenge-modal .modal-body-premium {
        padding: 20px;
    }
}

/* ============================================
   DATE TIME INPUT - GOLD CALENDAR ICON
   ============================================ */

#challenge-time::-webkit-calendar-picker-indicator {
    filter: brightness(0) saturate(100%) invert(66%) sepia(78%) saturate(1650%) hue-rotate(2deg) brightness(104%) contrast(101%);
    cursor: pointer;
    width: 22px;
    height: 22px;
    opacity: 1;
}

#challenge-time::-webkit-datetime-edit {
    color: #FFD700;
}

#challenge-time::-webkit-datetime-edit-fields-wrapper {
    color: #FFD700;
}

#challenge-time::-webkit-datetime-edit-text {
    color: #D4AF37;
}

#challenge-time::-webkit-datetime-edit-month-field,
#challenge-time::-webkit-datetime-edit-day-field,
#challenge-time::-webkit-datetime-edit-year-field,
#challenge-time::-webkit-datetime-edit-hour-field,
#challenge-time::-webkit-datetime-edit-minute-field,
#challenge-time::-webkit-datetime-edit-ampm-field {
    color: #FFD700;
    font-weight: 600;
}
