/* Container styling */
.serial-search-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Heading styling */
.serial-search-container h1 {
    font-size: 30px;
    font-family:'Inter';
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.logonya {
    display: flex !important;
    justify-content: center;
    margin-bottom: 20px;
}

img.logo-atas{
    max-width: 175px !important;
}

.nominal-container{
  padding-bottom: 55%; /* Rasio aspek gambar (800/566 * 100) */
  background-image: url('https://tiberman.com/asuransi/wp-content/uploads/2025/03/nominal-asuransicop.jpg');
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
  position: relative;
  box-shadow: none;
  border-radius: 10px; /* Radius buat sudut */
  overflow: hidden; /* Biar gambar nggak keluar dari radius */
}

.nominal {
    position: absolute;
    top: 49%;
    left: 4%;
    width: 342px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nominal-text {
  font-size: 30px; /* Sesuaikan ukuran font */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Biar lebih terbaca */
}

@media (max-width: 768px) { /* Untuk tablet */
    .nominal {
        top: 46%;
        width: 44.5vw; /* Lebar lebih besar biar proporsional */
        height: 15vw;
    }

    .nominal-text {
        font-size: 4vw; /* Perbesar ukuran teks */
    }
}

@media (max-width: 480px) { /* Untuk HP */
    .nominal {
        top: 50%;
        width: 53vw; /* Lebar lebih besar biar proporsional */
        height: 14vw;
    }

    .nominal-text {
        font-size: 5vw; /* Lebih besar biar tetap kebaca */
    }
}

/* Input styling */
.serial-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s;
}

.serial-input:focus {
    border-color: #0073aa;
    outline: none;
}

/* Button styling */
.serial-button {
    width: 100%;
    padding: 12px;
    background-color: #af0000;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.serial-button:hover {
    background-color: #af0000;
}

/* Result container styling */
.serial-result {
    margin-top: 20px;
}

/* Status warning styling */
.yellow-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.red-warning {
    background-color: #ed2d2d;
    color: #ffffff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.green-warning {
    background-color: #28A745;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Table styling */
.serial-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.serial-row:nth-child(even) {
    background-color: #f2f2f2;
}

.serial-row:nth-child(odd) {
    background-color: #fff;
}

.serial-label, .serial-value {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.serial-label {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Day counter styling */
.serial-days {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    text-align: center;
}

/* Image styling */
.asuransi-status, .produk-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

/* Error message styling */
.serial-error {
    color: #d9534f;
    text-align: center;
    font-size: 16px;
}