
/* Report Hub */
.report-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    padding: 0;
    background: white;
}
/* Sidebar */
.sidebar {
    width: 220px;
    min-width: 220px;
    background: white;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #134989;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 45px;
}
.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.sidebar-nav a,
.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #134989;
    font-size: 19px;
    font-weight: 400;
    transition: 0.2s ease;
    white-space: nowrap;
}
.sidebar-nav a:hover {
    color: #bc1400;
    transform: translateX(4px);
}
.sidebar-nav a.active {
    font-weight: 700;
}
.sidebar-nav a i {
    font-size: 19px;
}

/* Main Content */
.report-main {
    flex: 1;
    background: #f1f9ff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 55px 50px;
    min-width: 0;
}
.report-content {
    width: 100%;
    max-width: 850px;
    text-align: center;
}
.report-content h1 {
    margin-bottom: 25px;
}
.form-heading {
    margin-bottom: 12px;
}
/* Form */
#report-form {
    width: 100%;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 18px;
}
.form-field {
    width: 100%;
    margin-bottom: 15px;
}
.form-field input,
.form-field select,
.form-field textarea,
.date-time-row input {
    width: 100%;
    border: none;
    outline: none;
    background: white;
    color: #1e1e1b;
    font-family: inherit;
    font-size: 18px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
    transition: 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.date-time-row input:focus {
    box-shadow: 0 0 0 3px rgba(19, 73, 137, 0.18);
}
.form-field select {
    appearance: none;
    text-align: center;
    text-align-last: center;
    background-color: #bc1400;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    min-height: 48px;
    cursor: pointer;
}
.form-field select option {
    background: white;
    color: #1e1e1b;
}
.form-field input {
    border-radius: 5px;
    min-height: 48px;
    text-align: center;
    padding: 10px 18px;
}
.form-field textarea {
    resize: vertical;
    text-align: left;
    display: block;
    min-height: 110px;
}
.form-field textarea::placeholder,
.form-field input::placeholder {
    color: #555;
    opacity: 1;
}
#report-description {
    min-height: 110px;
    height: 110px;
}
#report-experience {
    min-height: 145px;
    height: 145px;
}
/* Date and Time */
.date-time-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 0 20px;
    text-align: left;
}
.date-time-row div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.date-time-row label {
    color: #134989;
    font-size: 18px;
    padding-left: 10px;
}
.date-time-row input {
    min-width: 0;
    border-radius: 5px;
    padding: 11px 16px;
}
/* Upload and Submit */
.form-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.upload-label{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1.5px dashed #b8cbd8;
    border-radius: 10px;
    background-color: #f5faff;
    color: #31536b;
    cursor: pointer;
    transition: 0.25s ease;
    flex: 1;
    min-width: 0;
}

.upload-label:hover{
    background-color: #eaf4fc;
    border-color: #397ca5;
}

.upload-label > i{
    font-size: 24px;
    color: #397ca5;
}

.upload-label span{
    font-size: 16px;
    font-weight: 600;
}

.upload-label small{
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #8295a3;
}

.upload-label input{
    display: none;
}

.submit-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    background-color: #134989;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all;
    white-space: nowrap;
}

.submit-btn:hover{
    background-color: #0d3565;
    transform: translateY(-2px);
    transition: 0.25s ease;
}

@media (max-width: 500px){
    .form-bottom{
        flex-direction: column;
        align-items: stretch;
    }

    .upload-label,
    .submit-btn{
        width: 100%;
    }
}
.form-note {
    font-size: 16px;
    color: #777;
    margin-top: 18px;
    margin-left: 0;
}
/* Responsive */
@media (max-width: 800px) {
    .sidebar {
        width: 180px;
        min-width: 180px;
        padding: 25px 18px;
    }
    .report-main {
        padding: 40px 25px;
    }
    .report-content h1 {
        font-size: 45px;
    }
}
@media (max-width: 650px) {
    .report-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-width: 0;
        padding: 18px 20px;
    }
    .brand {
        margin-bottom: 18px;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
    .sidebar-nav a {
        font-size: 16px;
    }
    .logout-btn {
        margin-top: 18px;
    }
    .report-main {
        padding: 35px 20px;
        min-height: 75vh;
    }
    .report-content h1 {
        font-size: 38px;
    }
}
@media (max-width: 450px) {
    .form-row,
    .date-time-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .form-bottom {
        flex-wrap: wrap;
    }
    .upload-label {
        max-width: 100%;
    }
}

#submit-message{
    margin-top: 15px;
    font-size: 15px;
    text-align: center;
}

/* Community reports */
.community-subtitle {
    font-size: 17px;
    margin: 12px 0 35px;
}

.reports-container {
    max-width: 1050px;
    margin: 0 auto !important;
    padding: 0 12px 40px !important;
}

/* Report Card */
.community-report-card {
    background: #ffffff;
    border: 1px solid #e2eaf2;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(19, 73, 137, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.community-report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 25px rgba(19, 73, 137, 0.12);
}

/* Header */
.report-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.report-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eaf3fc;
    color: #134989;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.report-user-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #1e1e1b;
    margin: 0;
}

.report-user-label {
    font-size: 13px;
    color: #8995a3;
}

.report-disaster-badge {
    background: #fff0ed;
    color: #bc1400;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Report Details */
.report-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 22px 0;
}

.report-detail-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.report-detail-item > i {
    color: #134989;
    font-size: 19px;
}

.report-detail-item > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.detail-label {
    color: #8995a3;
    font-size: 12px;
}

.detail-value {
    color: #333b45;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Description and Experience */
.report-text-section {
    background: #f7faff;
    border-radius: 10px;
    padding: 17px 19px;
    margin-bottom: 13px;
}

.report-text-section h5 {
    color: #134989;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 7px;
}

.report-text-section p {
    color: #515d6b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Uploaded Photo */
.report-photo {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    background: #f5f7fa;
    border-radius: 12px;
    margin-top: 18px;
}

/* Empty Reports */
.empty-reports {
    text-align: center;
    padding: 55px 20px;
    background: #f7faff;
    border: 1px dashed #cbd9e8;
    border-radius: 16px;
}

.empty-reports > i {
    font-size: 42px;
    color: #134989;
}

.empty-reports h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #134989;
    margin-top: 15px;
}

.empty-reports p {
    color: #7b8794;
    font-size: 15px;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .community-report-card {
        padding: 18px;
    }

    .report-details {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .report-card-header {
        align-items: flex-start;
    }

    .report-disaster-badge {
        font-size: 11px;
        padding: 6px 10px;
    }

    .report-user-name {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .report-card-header {
        flex-direction: column;
    }
}
.report-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}