/* ===============================
   SEWA PAGE
================================ */
.sewa-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

h4{
    justify-content: right;
    align-items: center;
    display: flex;
}

.btn-close {
    position: relative;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    line-height: 38px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    transform: rotate(0deg);
}

.btn-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(180deg) scale(1.05);
}


/* ===============================
   MOBIL CARD
================================ */
.mobil-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.mobil-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.mobil-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1e293b;
}

.mobil-card .harga {
    font-size: 18px;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 6px;
}

.mobil-card .stok {
    font-size: 14px;
    color: #64748b;
}
/* DESKRIPSI MOBIL */
.mobil-card .deskripsi {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    text-align: left;
}


/* ===============================
   FORM SEWA
================================ */
.form-sewa {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.form-sewa h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1E40AF;
}

.form-sewa label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.form-sewa input, .form-sewa select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.form-sewa input:focus {
    outline: none;
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(30,64,175,0.15);
}

/* BUTTON */
.form-sewa button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E40AF, #1E3A8A);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* =============================
   PEMBAYARAN SELECT (ONLY)
============================= */
.select-pembayaran {
    position: relative;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding-right: 44px;
    cursor: pointer;
}

/* Arrow custom */
.select-pembayaran {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%231E40AF' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

/* Hover */
.select-pembayaran:hover {
    border-color: #1E40AF;
}

/* Focus */
.select-pembayaran:focus {
    outline: none;
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(30,64,175,0.15);
}

/* Disabled */
.select-pembayaran option:disabled {
    color: #9ca3af;
}


/* ===============================
   ALERT
================================ */
.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}

.success {
    background: #dcfce7;
    color: #166534;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .sewa-wrapper {
        grid-template-columns: 1fr;
        margin: 30px auto;
    }
}
