section.attendance {
    color: var(--primary);
    position: relative;
    padding: 4rem 0 8rem 0;
    height: auto;
    background-color: var(--white);
    font-family: var(--montserrat);
}

.attendance .content {
    padding: 0 2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* TYPOGRAPHY */
.attendance .title-container {
    text-align: left !important;
}

.title-container .title {
    font-family: var(--playfair);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-align: left !important;
    color: var(--primary);
}

.title-container .subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.title-container .desc {
    font-size: 15px;
    font-weight: 400;
    text-align: justify;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* FORM ELEMENTS */
.attendance form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-input {
    width: 100%;
}

.custom-input input,
.custom-input textarea {
    width: 100%;
    border: 1px solid var(--primary);
    padding: 16px 20px;
    font-size: 15px;
    color: var(--primary);
    background: transparent;
    font-family: var(--montserrat);
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    border-radius: 0px !important;
}

.custom-input input::placeholder,
.custom-input textarea::placeholder {
    color: rgba(182, 133, 75, 0.6);
    font-family: var(--montserrat);
    font-weight: 400;
}

/* CUSTOM RADIO (Hadir / Tidak Hadir) */
.radio-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label.box {
    flex: 1;
    text-align: center;
    padding: 16px 10px;
    border: 1px solid var(--primary);
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Efek saat dipilih */
.radio-group input[type="radio"]:checked + label.box {
    background-color: var(--primary);
    color: #ffffff;
}

/* BUTTON */
.btn-kirim {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 0px !important;
}

.my-btn {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-family: var(--montserrat);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

.my-btn:hover {
    background-color: #9c713e;
}

/* ORNAMENTS*/
.attendance .ornaments {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.attendance .ornaments img:nth-child(1) {
    position: absolute;
    top: -90px;
    right: -60px;
    width: 55%;
    object-fit: cover;
    animation: rotateLeft 2s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(2) {
    position: absolute;
    top: -90px;
    left: -60px;
    width: 55%;
    object-fit: cover;
    animation: rotateRight 2s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    object-fit: cover;
    /* z-index: -1; */
    animation: rotateLeft 2s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(4) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    object-fit: cover;
    /* z-index: -1; */
    animation: rotateRight 2s ease-in-out infinite alternate;
}
