/* Competition Rounds Styles */
.smule-competition-rounds {
    margin: 20px 0;
}

.smule-round-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.smule-round-upcoming {
    border-left: 5px solid #ffc107;
}

.smule-round-open {
    border-left: 5px solid #28a745;
}

.smule-round-closed {
    border-left: 5px solid #dc3545;
}

.smule-round-artwork-container {
    position: relative;
}

.smule-round-artwork {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.smule-download-artwork-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 115, 170, 0.9);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.smule-download-artwork-btn:hover {
    background: rgba(0, 90, 135, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.smule-download-artwork-btn:disabled {
    background: rgba(128, 128, 128, 0.7);
    cursor: not-allowed;
    transform: none;
}

.smule-round-content {
    padding: 25px;
}

.smule-round-header {
    margin-bottom: 20px;
}

.smule-round-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

.smule-round-hashtag {
    font-size: 1.1rem;
    color: #0073aa;
    font-weight: 500;
    margin-bottom: 15px;
}

.smule-round-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.smule-round-status {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.smule-round-status.upcoming {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.smule-round-status.open {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.smule-round-status.closed {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.smule-round-status h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

/* Countdown Timer Styles */
.smule-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 60px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 5px;
}

.countdown-expired {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Submit Button */
.smule-submit-link {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s;
    text-align: center;
}

.smule-submit-link:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

/* Round Submission Form */
.smule-round-submission-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.smule-round-submission-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
}

.smule-form-group {
    margin-bottom: 20px;
}

.smule-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.smule-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.smule-form-group input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.smule-submit-btn {
    background: #0073aa;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

.smule-submit-btn:hover {
    background: #005a87;
}

.smule-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Form Messages */
.smule-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.smule-form-message.success-page,
.smule-form-message.error-page {
    background: white;
    border: none;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 500px;
    margin: 20px auto;
    display: block;
}

.success-content,
.error-content {
    max-width: 400px;
    margin: 0 auto;
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.success-content h2 {
    color: #155724;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.error-content h2 {
    color: #721c24;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.success-content p,
.error-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.smule-back-btn {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.smule-back-btn:hover {
    background: #005a87;
}

.error-content .smule-back-btn {
    background: #dc3545;
}

.error-content .smule-back-btn:hover {
    background: #c82333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .smule-round-content {
        padding: 20px;
    }
    
    .smule-round-title {
        font-size: 1.5rem;
    }
    
    .countdown-unit {
        min-width: 50px;
        padding: 8px 12px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .smule-round-submission-form {
    .smule-round-submission-container {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .smule-countdown-timer {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .smule-countdown-timer {
        gap: 8px;
    }
    
    .countdown-unit {
        min-width: 45px;
        padding: 6px 10px;
    }
    
    .countdown-number {
        font-size: 1rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}