/* Konversi Toto SGP Styles */

.konversi-header {
    text-align: center;
    margin-bottom: 30px;
}

.konversi-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.konversi-subtitle {
    font-size: 14px;
    color: #ccc;
}

.konversi-panel {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a2332 0%, #243447 100%);
    border: 2px solid #3d5a7a;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.konversi-panel-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #ffd700;
    margin-bottom: 30px;
}

/* Input Grid System */
.input-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-label {
    font-size: 14px;
    color: #25d366;
    margin-bottom: 8px;
    font-weight: 500;
}

.number-input {
    width: 100%;
    height: 50px;
    background: #2c3e50;
    border: 2px solid #3d5a7a;
    border-radius: 8px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.number-input:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.plus-section {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.plus-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
}

.tambahan-section {
    margin-bottom: 30px;
}

.tambahan-input {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

/* Konversi Action Buttons */
.konversi-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.konversi-btn {
    flex: 1;
    max-width: 150px;
    height: 50px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.konversi-btn.btn-konversi {
    background: linear-gradient(145deg, #2563eb, #1d4ed8);
    color: white;
    border: 2px solid #3b82f6;
}

.konversi-btn.btn-konversi:hover {
    background: linear-gradient(145deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
}

.konversi-btn.btn-hapus {
    background: linear-gradient(145deg, #dc2626, #b91c1c);
    color: white;
    border: 2px solid #ef4444;
}

.konversi-btn.btn-hapus:hover {
    background: linear-gradient(145deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
}

/* Result Section */
.result-section {
    text-align: center;
}

.result-title {
    font-size: 20px;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 30px;
}

.result-balls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.result-ball {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.result-ball:hover {
    transform: scale(1.1);
}

.ball-teal {
    background: linear-gradient(145deg, #14b8a6, #0d9488);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
    border: 2px solid rgba(20, 184, 166, 0.3);
}

.ball-orange {
    background: linear-gradient(145deg, #f97316, #ea580c);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    border: 2px solid rgba(249, 115, 22, 0.3);
}

.ball-green {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.ball-yellow {
    background: linear-gradient(145deg, #eab308, #d97706);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
    border: 2px solid rgba(234, 179, 8, 0.3);
}

.ball-inner-glow {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .konversi-title {
        font-size: 22px;
    }
    
    .konversi-panel {
        padding: 20px;
        margin: 0 10px;
    }
    
    .konversi-panel-title {
        font-size: 20px;
    }
    
    .input-grid {
        gap: 10px;
    }
    
    .number-input {
        height: 45px;
        font-size: 16px;
    }
    
    .result-balls {
        gap: 12px;
    }
    
    .result-ball {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .konversi-title {
        font-size: 18px;
    }
    
    .konversi-panel-title {
        font-size: 18px;
    }
    
    .konversi-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .konversi-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .result-balls {
        gap: 8px;
    }
    
    .result-ball {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}