* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7f4;
    color: #19372b;
    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
}

header {
    min-height: 72px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border-bottom: 1px solid #e3e8e4;
}

header strong {
    display: block;
    font-size: 17px;
    letter-spacing: .4px;
}

header small {
    display: block;
    margin-top: 3px;
    color: #718078;
}

.logo {
    font-size: 34px;
}

.back {
    font-size: 28px;
    color: #19372b;
    text-decoration: none;
}

main {
    max-width: 720px;
    margin: auto;
}

.hero {
    padding: 55px 25px 40px;
    text-align: center;
}

.bigicon {
    font-size: 60px;
}

.hero h1 {
    margin: 15px 0;
    font-size: 38px;
    line-height: 1.08;
}

.hero p {
    color: #65736c;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.primary {
    display: block;
    width: 100%;
    padding: 18px;
    border: 0;
    border-radius: 14px;
    background: #18794e;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.secondary {
    display: block;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ccd5cf;
    border-radius: 12px;
    color: #245b43;
    text-align: center;
    text-decoration: none;
    background: white;
}

.how {
    padding: 25px;
    background: white;
}

.how h2 {
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    text-align: center;
}

.steps div {
    flex: 1;
}

.steps span {
    display: block;
    font-size: 30px;
}

.steps b {
    display: block;
    margin-top: 7px;
}

.steps p {
    color: #7b8781;
    font-size: 12px;
}

.stats {
    display: flex;
    margin: 25px;
    gap: 15px;
}

.stats div {
    flex: 1;
    padding: 18px;
    text-align: center;
    background: white;
    border-radius: 15px;
}

.stats strong {
    display: block;
    font-size: 28px;
    color: #18794e;
}

.stats span {
    font-size: 13px;
    color: #738078;
}

.formpage {
    padding: 22px;
}

.formpage h2 {
    margin-top: 30px;
    font-size: 18px;
}

.categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cat {
    position: relative;
    padding: 15px 8px;
    text-align: center;
    background: white;
    border: 2px solid transparent;
    border-radius: 13px;
    cursor: pointer;
}

.cat input {
    position: absolute;
    opacity: 0;
}

.cat:has(input:checked) {
    border-color: #18794e;
    background: #edf8f2;
}

.cat span {
    display: block;
    font-size: 28px;
}

.cat b {
    display: block;
    margin-top: 5px;
    font-size: 13px;
}

.location {
    width: 100%;
    padding: 16px;
    border: 2px solid #18794e;
    border-radius: 12px;
    background: white;
    color: #18794e;
    font-weight: 800;
    font-size: 15px;
}

#locationResult {
    margin-top: 10px;
    padding: 12px;
    text-align: center;
    color: #647169;
    font-size: 14px;
}

.photo {
    display: block;
    padding: 25px;
    text-align: center;
    border: 2px dashed #b9c7bf;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    font-size: 30px;
}

.photo strong {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

.photo input {
    display: block;
    max-width: 100%;
    margin: 15px auto 0;
    font-size: 12px;
}

textarea {
    width: 100%;
    min-height: 130px;
    padding: 15px;
    border: 1px solid #ccd5cf;
    border-radius: 12px;
    font: inherit;
    resize: vertical;
}

.submit {
    margin: 25px 0 50px;
}

.alert {
    padding: 13px;
    border-radius: 10px;
    background: #fff3cd;
}

.confirmation {
    padding: 70px 25px;
    text-align: center;
}

.success {
    width: 85px;
    height: 85px;
    margin: auto;
    line-height: 85px;
    border-radius: 50%;
    background: #18794e;
    color: white;
    font-size: 50px;
}

.reference {
    margin: 30px 0;
    padding: 22px;
    border-radius: 14px;
    background: white;
}

.reference small {
    display: block;
    color: #77847d;
}

.reference strong {
    display: block;
    margin-top: 7px;
    font-size: 23px;
}

.card {
    margin-top: 25px;
    padding: 25px;
    background: white;
    border-radius: 15px;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    background: #e8f4ed;
    color: #18794e;
    font-size: 12px;
    font-weight: 800;
}

.reportphoto {
    display: block;
    width: 100%;
    max-height: 400px;
    margin: 15px 0;
    object-fit: cover;
    border-radius: 12px;
}

.date {
    color: #859089;
    font-size: 12px;
}

.admin {
    padding: 20px;
}

.report {
    margin-bottom: 15px;
    padding: 18px;
    border-radius: 14px;
    background: white;
}

.reporttop {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.report form {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.report select {
    flex: 1;
    padding: 10px;
}

.report button {
    padding: 10px;
    border: 0;
    border-radius: 7px;
    background: #18794e;
    color: white;
}

.adminlink {
    text-align: center;
}

.adminlink a {
    color: #8b9690;
    font-size: 12px;
}

footer {
    padding: 30px;
    text-align: center;
    color: #8a958f;
    font-size: 12px;
}

@media (max-width: 500px) {
    .hero h1 {
        font-size: 32px;
    }
}
