:root {
    --primary-color: #6a0dad;
    --secondary-color: #4b0082;
    --accent-color: #8a2be2;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    color: #333;
}

.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #e0e0e0 !important;
}


.product-image {
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    width: 100%;
}

.card-with-image .card-body {
    padding: 15px;
}

.image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 8px 8px 0 0;
}

.image-upload-preview {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}





.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

.card-custom {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
    height: 100%;
    border-left: 4px solid var(--accent-color);
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 13, 173, 0.15);
}

.card-header-custom {
    background-color: white;
    color: var(--primary-color);
    border-bottom: 1px solid #e9ecef;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
    font-weight: 600;
}

.price-tag {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    color: white;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline-custom {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-custom {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.system-id {
    background-color: var(--light-color);
    color: var(--gray-color);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.admin-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: 50px;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.1);
    background-color: white;
    border-top: 4px solid var(--primary-color);
}

.table-custom {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table-custom thead {
    background-color: var(--primary-color);
    color: white;
}