/* Custom CSS untuk Website Undian Online */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* Navbar styling */
.navbar-brand {
    font-size: 1.5rem;
}

/* Card styling */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: #0d6efd;
    font-weight: 600;
}

.card-text {
    color: #6c757d;
}

/* Button styling */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-warning {
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-weight: 500;
    color: #000;
}

.btn-warning:hover {
    background-color: #ffca2c;
}

/* Footer styling */
footer {
    border-top: 1px solid #dee2e6;
}

/* Badge styling */
.badge-price {
    background-color: #ffc107;
    color: #000;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}

.badge-date {
    background-color: #0dcaf0;
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Login & Register Form */
.form-auth {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Dashboard styling */
.dashboard-card {
    border-left: 5px solid #0d6efd;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px;
    }
}