/*--------------------------------------------------------------
KOMMMENTAR FORM CONTACT JavaScript untuk alert setelah komentar
----------------------------------------------------------------*/
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-alert-box {
    background-color: #e6f4ea;
    border-left: 6px solid #2e7d32;
    border-radius: 8px;
    color: #1b5e20;
    padding: 24px 28px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.custom-alert-box strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.custom-alert-close {
    margin-top: 15px;
    display: inline-block;
    background-color: #2e7d32;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Stye Form Pengaduan */
.custom-comment-form {
    background: #eaf6ed;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    max-width: 720px;
    margin: 30px auto;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #cfe3d4;
}

.custom-comment-form .form-title {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #1f3f2a;
}

.custom-comment-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.custom-comment-form label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 15px;
}

.custom-comment-form input,
.custom-comment-form textarea {
    padding: 12px 15px;
    border: 1px solid #b9d7c5;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-comment-form input:focus,
.custom-comment-form textarea:focus {
    border-color: var(--accent-color, #08915e);
    box-shadow: 0 0 0 2px rgba(8, 145, 94, 0.15);
    outline: none;
}

.custom-comment-form textarea {
    resize: vertical;
    min-height: 140px;
}

.custom-comment-form span {
    color: red;
    font-size: 13px;
}

.submit-btn {
    background: linear-gradient(135deg, #08915e, #06784a);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #06784a, #08915e);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 145, 94, 0.3);
}

@media (max-width: 576px) {
    .custom-comment-form {
        padding: 20px;
        margin: 20px;
    }

    .custom-comment-form .submit-btn {
        width: 100%;
        text-align: center;
    }
}
