/* Main Container */
.roulette-prediction-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Headings */
.roulette-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 2rem;
}

.section-title {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
    font-size: 1.3rem;
    border-bottom: 2px solid #eaecef;
    padding-bottom: 0.5rem;
}

/* Form Elements */
.roulette-form {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    min-width: 120px;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-primary {
    color: #fff;
    background-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.btn-danger {
    color: #fff;
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Predictions Section */
.prediction-container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prediction-section {
    margin-bottom: 1.5rem;
}

.prediction-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.prediction-item {
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 60px;
}

.prediction-item .confidence {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.prediction-item.red {
    background-color: #ff6b6b;
    border: 1px solid #e63939;
}

.prediction-item.black {
    background-color: #2f3542;
    border: 1px solid #1a1e24;
}

.prediction-item.green {
    background-color: #26de81;
    border: 1px solid #20bc6a;
}

.prediction-item.remaining {
    background-color: #6c757d;
    border: 1px solid #5a6268;
    opacity: 0.7;
}

.prediction-item.highlight {
    transform: scale(1.05);
}

/* Ultimate Mode Styles */
.prediction-item.ultimate-normal {
    border: 2px solid #3498db;
}

.prediction-item.ultimate-reverse {
    border: 2px solid #e74c3c;
}

.prediction-item.ultimate-remaining {
    border: 2px dashed #9b59b6;
}

.prediction-summary {
    margin-top: 1rem;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 6px;
}

.error-message {
    color: #dc3545;
    font-weight: 500;
    margin-top: 1rem;
}

.success-message {
    color: #27ae60;
    font-weight: 500;
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .roulette-prediction-container {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .roulette-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.prediction-container {
    animation: fadeIn 0.4s ease-out;
}