@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f7f2ea;
    color: #231811;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: #231811;
    font-weight: 700;
}

.navbar-cream {
    background: #ffffff;
    border-bottom: 2px solid #d8cabe;
    padding: 0.9rem 0;
    box-shadow: 0 4px 16px rgba(78, 53, 36, 0.05);
}

.navbar-cream .navbar-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4e3524;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.navbar-cream .navbar-brand:hover {
    color: #382417;
}

.navbar-cream .brand-icon {
    width: 36px;
    height: 36px;
    background: #f0e6da;
    border: 1px solid #d8cabe;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4e3524;
    font-size: 1.1rem;
}

.btn-cream-primary {
    background-color: #4e3524;
    color: #ffffff;
    border: 1px solid #4e3524;
    padding: 0.6rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cream-primary:hover, .btn-cream-primary:focus {
    background-color: #382417;
    border-color: #382417;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(78, 53, 36, 0.25);
}

.btn-cream-secondary {
    background-color: #ffffff;
    color: #4e3524;
    border: 1.5px solid #d8cabe;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cream-secondary:hover {
    background-color: #f0e6da;
    color: #382417;
    border-color: #a87954;
    transform: translateY(-1px);
}

.btn-cream-success {
    background-color: #3b744a;
    color: #ffffff;
    border: 1px solid #3b744a;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cream-success:hover {
    background-color: #2e5c3a;
    border-color: #2e5c3a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 116, 74, 0.3);
}

.btn-cream-warning {
    background-color: #c98528;
    color: #ffffff;
    border: 1px solid #c98528;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cream-warning:hover {
    background-color: #b0721d;
    border-color: #b0721d;
    color: #ffffff;
}

.btn-cream-danger {
    background-color: #b83d40;
    color: #ffffff;
    border: 1px solid #b83d40;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cream-danger:hover {
    background-color: #9e3235;
    border-color: #9e3235;
    color: #ffffff;
}

.card-custom {
    background: #ffffff;
    border: 1.5px solid #d8cabe;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(78, 53, 36, 0.08);
    transition: all 0.3s ease;
}

.card-custom:hover {
    border-color: #a87954;
    transform: translateY(-3px);
}

.book-card {
    background: #ffffff;
    border: 1.5px solid #d4c5b5;
    border-left: 6px solid #8c5e3c;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(78, 53, 36, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    border-color: #a87954;
    border-left-color: #5a381f;
    box-shadow: 0 14px 32px rgba(78, 53, 36, 0.16);
    transform: translateY(-5px);
}

.book-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f0e6da;
    border: 1px solid #d8cabe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4e3524;
    font-size: 1.25rem;
}

.hero-fullscreen {
    background: linear-gradient(180deg, #ffffff 0%, #f4ede2 100%);
    border-bottom: 1.5px solid #d8cabe;
    min-height: calc(80vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.hero-fullscreen .hero-content {
    max-width: 650px;
    margin: 0 auto;
}

.hero-fullscreen h1 {
    font-size: 2.75rem;
    line-height: 1.25;
    color: #4e3524;
    margin-bottom: 1rem;
}

.hero-fullscreen p {
    font-size: 1.15rem;
    color: #5c4c41;
    margin-bottom: 2rem;
}

.badge-stock-in {
    background-color: #e6f4ea;
    color: #1b682b;
    border: 1.5px solid #a8d5b2;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-stock-out {
    background-color: #fde8e8;
    color: #9c2727;
    border: 1.5px solid #f5b0b0;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-meta {
    background-color: #efe7dc;
    color: #5c4c41;
    border: 1px solid #d8cabe;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    display: inline-flex;
    align-items: center;
}

.form-card {
    background: #ffffff;
    border: 1.5px solid #d8cabe;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(78, 53, 36, 0.08);
    padding: 2.25rem;
}

.form-card-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #231811;
    margin-bottom: 0.4rem;
}

.form-control {
    background-color: #faf7f2;
    border: 1.5px solid #d8cabe;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    color: #231811;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: #a87954;
    box-shadow: 0 0 0 4px rgba(168, 121, 84, 0.18);
    color: #231811;
    outline: none;
}

.table-custom-wrapper {
    background: #ffffff;
    border: 1.5px solid #d8cabe;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(78, 53, 36, 0.08);
}

.table-custom {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead {
    background-color: #efe7dc;
    border-bottom: 2px solid #d8cabe;
}

.table-custom th {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5c4c41;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #d8cabe;
    background-color: #efe7dc;
}

.table-custom td {
    padding: 1.1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid #d8cabe;
    color: #231811;
    font-size: 0.94rem;
    background-color: #ffffff;
}

.table-custom tbody tr:hover td {
    background-color: #faf6f0;
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

.alert-custom-danger {
    background-color: #fde8e8;
    border: 1.5px solid #f5b0b0;
    color: #9c2727;
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.footer-cream {
    border-top: 1.5px solid #d8cabe;
    padding: 2rem 0;
    color: #5c4c41;
    font-size: 0.88rem;
    margin-top: 4rem;
    background-color: #ffffff;
}
