/* Autor: Henrique Viana Garcia Alves */

#page-create-point { width: 100%; }
#page-create-point main { width: min(90%, 800px); margin: 32px auto 96px; }
#create-point-form { position: relative; padding: clamp(28px, 7vw, 64px); border-radius: 12px; background: var(--surface-color); box-shadow: var(--shadow); }
#create-point-form h1 { margin-bottom: 12px; font-size: clamp(2rem, 5vw, 2.5rem); }
.form-intro { max-width: 600px; margin: 0; }
#create-point-form fieldset { min-width: 0; margin: 54px 0 0; padding: 0; border: 0; }
#create-point-form legend { width: 100%; margin-bottom: 28px; color: var(--title-color); font-family: "Ubuntu", sans-serif; font-size: 1.5rem; font-weight: 700; }
.fieldset-help { margin: -18px 0 28px; font-size: 0.95rem; }
.field-group { display: flex; gap: 24px; }
.field { display: flex; min-width: 0; flex: 1; flex-direction: column; margin-bottom: 24px; }
.field label { margin-bottom: 8px; color: #383847; font-size: 0.9rem; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: var(--background-color); color: var(--title-color); }
.field input:focus, .field select:focus { border-color: var(--primary-dark); }
.field select:disabled { color: #777784; }
.field-help { min-height: 18px; margin-top: 8px; color: var(--text-color); }
.items-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.items-grid button { display: flex; align-items: center; justify-content: space-between; flex-direction: column; width: 100%; min-height: 180px; padding: 28px 16px 18px; border: 2px solid #ededf2; border-radius: 8px; background: #f7f7f9; color: var(--title-color); font-weight: 700; text-align: center; transition: border-color 160ms, background-color 160ms, transform 160ms; }
.items-grid button:hover { transform: translateY(-2px); border-color: #a9dfc1; }
.items-grid button.selected { border-color: var(--primary-color); background: #e1faec; }
.items-grid img { height: 72px; width: 72px; object-fit: contain; }
.items-grid span { margin-top: 12px; }
.form-status { min-height: 26px; margin: 34px 0 0; font-weight: 700; }
.form-status.error { color: var(--danger-color); }
.form-status.success { color: var(--success-color); }
.submit-button { min-height: 56px; margin-top: 14px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--primary-color); color: #102e20; font-weight: 700; }
.submit-button:hover { background: #2fb86e; }
