/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- STICKY HEADER --- */
.sticky-header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    width: 100%;
}

.top-header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.login-btn,
.menu-btn {
    background-color: #6b4196;
    color: #fff;
    border: none;
    padding: 9px 17px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-right i {
    color: #6b4196;
    font-size: 20px;
    cursor: pointer;
}

.sub-nav {
    background-color: #8c42bb;
    padding: 15px 40px;
}

.sub-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: flex-start;
    overflow-x: auto;
}

.sub-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 100;
    white-space: nowrap;
}

.sub-nav a.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

/* --- FORM LAPORAN --- */
.report-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.report-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    border: 1px solid #eee;
}

.report-title {
    color: #6b4196;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
}

.form-control:focus {
    border-color: #8c42bb;
    box-shadow: 0 0 0 4px rgba(140, 66, 187, 0.1);
}

.row-flex {
    display: flex;
    gap: 15px;
}

.row-flex div {
    flex: 1;
}

#debitFields {
    display: none;
    background: #f9f6ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px dashed #8c42bb;
}

.btn-submit-report {
    width: 100%;
    background-color: #6b4196;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-submit-report:hover {
    background-color: #56337a;
}

/* --- Mobile Responsive --- */
@media (max-width:768px) {
    .top-header { padding: 2px 21px; }
    .header-right { gap: 15px; }
    .login-btn, .menu-btn { padding: 15px 25px; font-size: 14px; }
    .logo-img { height: 50px; margin-right: 20px; margin-top: 9px; }
    .sub-nav { padding: 12px 15px; }
}
