/* Container utama */
.confirm-box {
    max-width: 600px;
    background: #ffffff;
    margin: 80px auto;
    padding: 25px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeIn 0.35s ease;
}

/* Judul */
.confirm-box h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

/* Paragraf */
.confirm-box p {
    color: #555;
    margin-bottom: 18px;
    font-size: 15px;
}

/* Info buku */
.book-info {
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #4aa8ff;
    margin-bottom: 25px;
    text-align: left;
    color: #333;
    font-size: 15px;
}

/* Tombol */
.confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Tombol dasar */
.confirm-actions .btn {
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
}

/* Tombol Hapus */
.btn-danger {
    background: #ff4d4d;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-danger:hover {
    background: #e93a3a;
}

/* Tombol Batal */
.btn-secondary {
    background: #ddd;
    color: #333;
}

.btn-secondary:hover {
    background: #c8c8c8;
}

/* Animasi fade in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Wrapper biar posisi rapi */
.alert-wrapper {
    margin-bottom: 20px;
}

/* Base */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: fadeIn 0.3s ease-in-out;
}

/* Success */
.alert-success {
    background: #e8fdf3;
    color: #0f5132;
    border-left: 4px solid #1dd683;
}

/* Error */
.alert-error {
    background: #ffeaea;
    color: #7a1a17;
    border-left: 4px solid #ff5b5b;
}

/* Info */
.alert-info {
    background: #e9f5ff;
    color: #0b4b71;
    border-left: 4px solid #4aa8ff;
}

/* Icon style */
.alert-icon {
    font-size: 20px;
}

/* untuk form yang butuh display inline  */
.inline{
    display:inline;
}
/* margin left  */
.ml{
    margin-left: 6px;
}
/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}
