section.attendance {
    position: relative;
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--white, #fdfaf6);
}

.attendance .bg-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.attendance .bg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.attendance .bg-image-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
}

.attendance .arch-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;

    background: rgb(255 255 255 / 57%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 2.5rem 2rem;
}

.attendance .title-container {
    text-align: left;
    margin-bottom: 1.5rem;
    color: #713135;
}

.attendance .title {
    font-family: var(--playfair, serif);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 0.2rem 0;
    text-align: left;
}

.attendance .subtitle {
    font-family: var(--montserrat, sans-serif);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.attendance .desc {
    font-family: var(--montserrat, sans-serif);
    font-size: 12px;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

.attendance form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.attendance .custom-input {
    width: 100%;
}

.attendance .custom-input input,
.attendance .custom-input textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #713135;
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--montserrat, sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: #713135;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.attendance .custom-input textarea {
    resize: vertical;
    min-height: 80px;
}

.attendance .custom-input input::placeholder,
.attendance .custom-input textarea::placeholder {
    color: #713135;
    opacity: 0.8;
}

.attendance .custom-input input:focus,
.attendance .custom-input textarea:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px rgba(184, 134, 85, 0.3);
}

.attendance .radio-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

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

.attendance .radio-group .radio-box {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #b88655;
    color: #713135;
    padding: 12px 10px;
    font-family: var(--playfair, serif);
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.attendance .radio-group input[type="radio"]:checked + .radio-box {
    background-color: #713135;
    color: #ffffff;
}

.attendance .btn-kirim {
    width: 100%;
}

.attendance .my-btn {
    width: 100%;
    background-color: #713135;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-family: var(--playfair, serif);
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(184, 134, 85, 0.2);
    text-align: center;
    display: block;
    text-decoration: none;
}

.attendance .my-btn:hover {
    background-color: #5a272a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(184, 134, 85, 0.3);
}

/* ORNAMEN */
.attendance .ornaments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.attendance .ornaments img {
    position: absolute;
    width: 60%;
    max-width: 280px;
    object-fit: cover;
    opacity: 0.85;
}

.attendance .ornaments img:nth-child(1) {
    top: -7%;
    width: 100% !important;
    max-width: none !important;
}

.attendance .ornaments img:nth-child(2) {
    top: -1%;
    right: 0;
    z-index: 1;
    animation: rotateRight 3s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(3) {
    top: -1%;
    left: 0;
    z-index: 1;
    animation: rotateLeft 3s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(4) {
    bottom: -7%;
    width: 100% !important;
    max-width: none !important;
}

.attendance .ornaments img:nth-child(5) {
    bottom: -1%;
    right: 0;
    animation: rotateLeft 3s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(6) {
    bottom: -1%;
    left: 0;
    animation: rotateRight 3s ease-in-out infinite alternate;
}

.attendance .ornaments img:nth-child(7) {
    width: 100%;
    bottom: -1%;
    left: 40%;
}

/* Responsive */
@media (max-width: 360px) {
    .attendance .arch-container {
        padding: 2rem 1.5rem;
    }
    .attendance .title {
        font-size: 24px;
    }
    .attendance .desc {
        font-size: 11px;
    }
    .attendance .radio-group .radio-box {
        font-size: 13px;
        padding: 10px;
    }
}
