body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/jalan.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.navbar {
    width: 90%;
    margin: 25px auto 0 auto;
    background-color: white;
    color: black;
    padding: 20px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    box-sizing: border-box;
}

.navbar h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: 0.2s;
}

.navbar a:hover {
    opacity: 0.7;
}

.navbar a.active {
    border-bottom: 2px solid black;
    padding-bottom: 4px;
}

.hero {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 78px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    margin-top: 35px;
    padding: 18px 45px;
    background-color: white;
    color: black;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.side-login {
    position: absolute;
    top: 145px;
    left: 55px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-icon {
    width: 60px;
    height: 75px;
    position: relative;
}

.head {
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto;
}

.body-icon {
    width: 60px;
    height: 35px;
    background-color: white;
    border-radius: 50% 50% 0 0;
    margin-top: 5px;
}

.side-links {
    display: flex;
    flex-direction: column;
}

.side-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
}

.about-section {
    width: 80%;
    margin: 90px auto;
    color: white;
}

.about-section h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.about-section p {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 1100px;
}


.status-container {
    width: 90%;
    margin: 45px auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.status-card {
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    border-radius: 14px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 25px;
    box-sizing: border-box;
}

.status-image {
    width: 140px;
    height: 140px;
    border: 2px solid #222;
    border-radius: 10px;
    overflow: hidden;
    background-color: #eaeaea;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    font-size: 14px;
    color: #555;
    text-align: center;
    padding: 10px;
}

.status-info {
    flex: 1;
}

.status-info p {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.5;
}

.status-label {
    min-width: 150px;
    text-align: right;
    font-size: 28px;
    font-weight: bold;
}

.status-diterima {
    color: #0d6efd;
}

.status-diproses {
    color: #fd7e14;
}

.status-selesai {
    color: #198754;
}

.empty-status {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.auth-box {
    width: 100%;
    max-width: 430px;
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    padding: 40px 30px;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
}

.auth-box h1 {
    margin: 0 0 10px 0;
    font-size: 42px;
}

.auth-subtitle {
    margin-bottom: 30px;
    font-size: 18px;
    color: #444;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-box input {
    padding: 15px 18px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.auth-box button {
    padding: 15px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.auth-box button:hover {
    opacity: 0.9;
}

.auth-link {
    margin-top: 22px;
    font-size: 15px;
}

.auth-link a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}


.forgot-text {
    margin: -5px 0 5px 0;
    text-align: right;
    font-size: 14px;
    color: #555;
}

.back-btn {
    display: block;
    margin-top: 12px;
    padding: 15px;
    background-color: #d9d9d9;
    color: black;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
}

.back-btn:hover {
    opacity: 0.9;
}

.report-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    box-sizing: border-box;
}

.report-box {
    width: 100%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    padding: 40px 30px;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
}

.report-box h1 {
    margin: 0 0 30px 0;
    font-size: 42px;
}

.report-box form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.report-box input,
.report-box select {
    padding: 15px 18px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.upload-label {
    text-align: left;
    font-weight: bold;
    margin-bottom: -8px;
    font-size: 15px;
}

.file-input {
    background-color: white;
    padding: 12px;
}

.report-box button {
    padding: 15px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.report-box button:hover {
    opacity: 0.9;
}

.report-box input[type="text"],
.report-box input[type="date"],
.report-box select,
.report-box .file-input {
    width: 100%;
}

#autocomplete {
    margin-top: 2px;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-top: 5px;
}

.map-note {
    text-align: left;
    font-size: 14px;
    color: #444;
    margin-top: -6px;
    margin-bottom: 2px;
}

#koordinat_tampil {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    background-color: #f7f7f7;
}

.admin-container {
    width: 90%;
    margin: 45px auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.admin-card {
    background-color: rgba(255, 255, 255, 0.95);
    color: black;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 25px;
    box-sizing: border-box;
}

.admin-image {
    width: 140px;
    height: 140px;
    border: 2px solid #222;
    border-radius: 10px;
    overflow: hidden;
    background-color: #eaeaea;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-info {
    flex: 1;
}

.admin-info p {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.5;
}

.admin-actions {
    width: 220px;
}

.admin-actions form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-actions select {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.admin-actions button {
    padding: 12px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.admin-actions button:hover {
    opacity: 0.9;
}

.admin-alert {
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
}

.admin-alert.sukses {
    background-color: #d1e7dd;
    color: #0f5132;
}

.admin-alert.gagal {
    background-color: #f8d7da;
    color: #842029;
}

.welcome-text {
    color: white;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 8px;
    display: block;
}

.user-panel .side-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
}

.anonymous-note {
    margin: -8px 0 0 0;
    font-size: 14px;
    color: #555;
    text-align: left;
    line-height: 1.5;
}



/* =========================
   RESPONSIVE DESIGN
   ========================= */

/* Tablet */
@media (max-width: 992px) {
    .navbar {
        width: 92%;
        padding: 18px 25px;
    }

    .navbar h2 {
        font-size: 18px;
    }

    .navbar-menu {
        gap: 18px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .about-section p {
        font-size: 19px;
    }

    .status-card,
    .admin-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-label {
        text-align: left;
    }

    .admin-actions {
        width: 100%;
    }
}

/* HP */
@media (max-width: 600px) {
    .navbar {
        width: 90%;
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        border-radius: 30px;
        text-align: center;
    }

    .navbar h2 {
        font-size: 17px;
    }

    .navbar-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .navbar a {
        font-size: 13px;
    }

    .side-login {
        position: static;
        margin: 25px auto 0 auto;
        justify-content: center;
    }

    .side-links a,
    .welcome-text {
        font-size: 18px;
    }

    .hero {
        min-height: auto;
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .about-section {
        width: 85%;
        margin: 60px auto;
    }

    .about-section h1 {
        font-size: 38px;
    }

    .about-section p {
        font-size: 16px;
        line-height: 1.7;
    }

    .auth-box,
    .report-box {
        max-width: 90%;
        padding: 35px 22px;
    }

    .auth-box h1,
    .report-box h1 {
        font-size: 36px;
    }

    #map {
        height: 260px;
    }

    .status-container,
    .admin-container {
        width: 90%;
    }

    .status-card,
    .admin-card {
        padding: 18px;
        gap: 18px;
    }

    .status-image,
    .admin-image {
        width: 100%;
        height: 190px;
    }

    .status-info p,
    .admin-info p {
        font-size: 15px;
    }

    .status-label {
        font-size: 22px;
        text-align: left;
    }
}

/* HP kecil */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 34px;
    }

    .navbar h2 {
        font-size: 15px;
    }

    .navbar a {
        font-size: 12px;
    }

    .report-box h1,
    .auth-box h1 {
        font-size: 32px;
    }

    #map {
        height: 230px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 92%;
        padding: 18px;
        flex-direction: column;
        gap: 14px;
        border-radius: 28px;
    }

    .navbar h2 {
        font-size: 20px;
        text-align: center;
        line-height: 1.2;
    }

    .navbar-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .navbar a {
        font-size: 14px;
    }

    .side-login {
        position: static;
        margin: 25px auto 0 auto;
        justify-content: center;
    }

    .profile-icon {
        width: 50px;
        height: 60px;
    }

    .head {
        width: 30px;
        height: 30px;
    }

    .body-icon {
        width: 50px;
        height: 30px;
    }

    .side-links a,
    .welcome-text {
        font-size: 18px;
    }

    .hero {
        min-height: auto;
        padding: 55px 20px 80px 20px;
    }

    .hero h1 {
        font-size: 46px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.5;
        max-width: 90%;
    }

    .btn {
        padding: 15px 35px;
        font-size: 14px;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: 38px;
    }

    .navbar h2 {
        font-size: 18px;
    }

    .navbar a {
        font-size: 13px;
    }
}

/* RESPONSIVE FIX HP PORTRAIT & LANDSCAPE */
@media (max-width: 900px) {
    .navbar {
        width: 90%;
        padding: 14px 20px;
        border-radius: 30px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .navbar h2 {
        font-size: 18px;
        line-height: 1.2;
    }

    .navbar-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .navbar a {
        font-size: 13px;
    }

    .side-login {
        position: static;
        margin: 25px auto 0 auto;
        justify-content: center;
    }

    .profile-icon {
        width: 50px;
        height: 60px;
    }

    .head {
        width: 30px;
        height: 30px;
    }

    .body-icon {
        width: 50px;
        height: 30px;
    }

    .side-links a,
    .welcome-text {
        font-size: 18px;
    }

    .hero {
        min-height: auto;
        padding: 55px 20px 80px 20px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.5;
        max-width: 90%;
    }

    .btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* KHUSUS HP MIRING */
@media (max-width: 900px) and (orientation: landscape) {
    .navbar {
        flex-direction: row;
        padding: 12px 25px;
    }

    .navbar h2 {
        font-size: 16px;
    }

    .side-login {
        margin-top: 25px;
    }

    .hero {
        padding: 35px 20px 60px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 14px;
    }
}

/* HP KECIL */
@media (max-width: 430px) {
    .hero h1 {
        font-size: 34px;
    }

    .navbar h2 {
        font-size: 16px;
    }

    .navbar a {
        font-size: 12px;
    }
}