/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset dan Latar Belakang */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #6a00a0 0%, #a200a2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Kontainer Form Utama */
.form-container {
    width: 100%;
    max-width: 450px;
    margin: 20px;
}

#msform {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    padding: 30px 40px;
    position: relative;
    text-align: center;
    color: #333;
}

/* Fieldset untuk setiap langkah */
#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    position: relative;
}

/* Sembunyikan semua fieldset kecuali yang pertama */
#msform fieldset:not(:first-of-type) {
    display: none;
}

/* Judul dan Subjudul */
.fs-title {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* Input Fields */
#msform input, #msform textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #2C3E50;
    font-size: 15px;
}
#msform input:focus {
    border-color: #6a00a0;
    outline: none;
}


/* Tombol Aksi (Next, Previous) */
#msform .action-button {
    width: 120px;
    background: #6a00a0;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#msform .action-button:hover, #msform .action-button:focus {
    background-color: #5a0080;
}

#msform .action-button-previous {
    width: 120px;
    background: #C5C5F1;
    color: #6a00a0;
    font-weight: bold;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
    font-size: 16px;
}

/* Tombol Sosial */
.social-button {
    width: 100%;
    background: #4285F4;
    color: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.social-button.email {
    background: #777;
}

/* Progress Bar */
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    display: flex;
    justify-content: space-between;
}

#progressbar li {
    list-style-type: none;
    color: #666;
    text-transform: uppercase;
    font-size: 12px;
    width: 33.33%;
    position: relative;
    text-align: center;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    font-size: 14px;
    color: #333;
    background: #E0E0E0;
    border-radius: 50%;
    margin: 0 auto 5px auto;
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #E0E0E0;
    position: absolute;
    left: -50%;
    top: 14px;
    z-index: -1;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active:before, #progressbar li.active:after {
    background: #6a00a0;
    color: white;
}

/* Link di Bawah */
.bottom-link {
    margin-top: 25px;
    font-size: 14px;
}
.bottom-link a {
    color: #6a00a0;
    text-decoration: none;
    font-weight: 600;
}