/* Style untuk body */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Style untuk header */
#header {
    width: 100%;
    text-align: center;
    background-color: #4CAF50;
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
    color: white;
    border-bottom: 2px solid #ccc;
}

/* Style untuk ikon di dalam header */
#header i {
    margin-right: 10px;
}

/* Style untuk kartu */
.card {
    display: none;
    width: 90%;
    max-width: 360px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect untuk kartu */
.card:hover {
    transform: translateY(-10px);
}

/* Style untuk tabel dalam kartu */
.card-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.card-table td {
    width: 25%;
    padding: 15px;
    background-color: #ddd;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Style saat bilangan dipilih */
.card-table td.selected {
    background-color: #28a745;
    color: white;
    transform: scale(1.1);
}

/* Style untuk tombol */
button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect untuk tombol */
button:hover {
    background-color: #0056b3;
}

/* Style untuk ikon dalam tombol */
button i {
    margin-right: 8px;
}

/* Style untuk footer */
#footer {
    width: 100%;
    text-align: center;
    background-color: #f4f4f4;
    padding: 10px 0;
    font-size: 14px;
    font-weight: bold;
    border-top: 2px solid #ccc;
    margin-top: auto;
}

/* Style untuk screen konfirmasi benar */
#successScreen {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 10px;
    margin: 20px auto;
    width: 80%;
    max-width: 360px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style untuk tombol "Tebak Lagi" */
#successScreen button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    margin: 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#successScreen button:hover {
    background-color: #0056b3;
}
