﻿/* ========== Modern Topbar Layout ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f8fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.custom-navbar {
    background: linear-gradient(90deg, #2e7d32, #1b5e20);
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: #fff !important;
    font-size: 1.25rem;
}

.brand-logo {
    width: 125px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}

.navbar-brand span {
/*    margin-top:21px;*/
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link {
    color: #e8f5e9 !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .nav-link:hover,
    .nav-link.active {
        color: #ffffff !important;
        text-decoration: underline;
    }

.navbar-toggler {
    border: none;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.main-container {
    flex: 1;
}

.footer {
    background: #f1f1f1;
    border-top: 1px solid #ddd;
}

.btn-success {
    background-color: #2e7d32;
    border: none;
}

    .btn-success:hover {
        background-color: #1b5e20;
    }

.form-control:focus,
.form-select:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 1px 1px rgba(40, 167, 69, 0.1) !important;
    outline: none !important;
}

.form-control,
.form-select {
    transition: all 0.1s ease-in-out;
    border-radius: 5px;
}

.modal-content {
    border-radius: 8px;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.btn-panitia {
    background-color: #1b5e20;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .navbar-brand span {
        font-size: 1rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }

    .nav-link {
        text-align: center;
        padding: 10px 0;
    }

    .main-container {
        margin-top: 10px;
    }
}
