/* ===============================
   WRAPPER
=================================*/
.ppid-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===============================
   TITLE
=================================*/
.ppid-title {
    text-align: center;
    margin-bottom: 40px;
}

.ppid-title h2 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #e53935, #8e24aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===============================
   REQUEST BUTTON (MERAH → UNGU)
=================================*/
.ppid-request-wrapper {
    margin: 30px 0;
    text-align: right;
}

.ppid-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    background: linear-gradient(135deg, #e53935, #8e24aa);
    color: #fff;

    border: none;
    border-radius: 12px;
    padding: 14px 22px;

    cursor: pointer;
    box-shadow: 0 6px 18px rgba(142,36,170,0.35);

    transition: all .3s ease;
}

.ppid-request-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(142,36,170,0.45);
}

/* ===============================
   CARD INFORMASI
=================================*/
.ppid-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all .3s ease;
}

.ppid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.ppid-item-left h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.ppid-meta {
    font-size: 13px;
    color: #666;
}

/* ===============================
   BUTTON AKSI
=================================*/
.ppid-btn-view,
.ppid-btn-download {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
    transition: .3s;
}

.ppid-btn-view {
    background: #f3f4f6;
    color: #333;
}

.ppid-btn-view:hover {
    background: #e5e7eb;
}

.ppid-btn-download {
    background: linear-gradient(135deg, #e53935, #8e24aa);
    color: #fff;
}

.ppid-btn-download:hover {
    opacity: .85;
}

/* ===============================
   MODAL
=================================*/
#ppid-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#ppid-form {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    width: 100%;
    max-width: 450px;
    animation: fadeIn .3s ease;
}

#ppid-form h3 {
    margin-bottom: 20px;
    text-align: center;
}

#ppid-form input,
#ppid-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

#ppid-form textarea {
    min-height: 90px;
    resize: none;
}

#ppid-form button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #e53935, #8e24aa);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

#ppid-form button:hover {
    opacity: .9;
}

/* ===============================
   ANIMATION
=================================*/
@keyframes fadeIn {
    from {opacity:0; transform:scale(.9);}
    to {opacity:1; transform:scale(1);}
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 768px) {
    .ppid-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ppid-item-right {
        width: 100%;
    }

    .ppid-btn-view,
    .ppid-btn-download {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
}
