html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}






body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #222;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #1f2937;
}

.main-nav a,
.main-nav span,
.main-nav button {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.main-nav button {
    background: #374151;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.brand {
    font-weight: bold;
    font-size: 1.1rem;
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.footer {
    max-width: 1000px;
    margin: 1rem auto 2rem;
    color: #666;
    font-size: 0.9rem;
}



.hero {
    margin-bottom: 2rem;
}

.hero h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #eef2ff;
    border-radius: 10px;
    padding: 1rem;
}

.stat-card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.hike-card,
.photo-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    background: #fff;
}

.btn-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: end;
}

.filter-form input,
.filter-form select,
.filter-form button {
    padding: 0.5rem;
}

.hike-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.hike-table th,
.hike-table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.hike-table th {
    background: #f3f4f6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    display: block;
}

.photo-meta p {
    margin: 0.25rem 0;
}


.user-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    background: #fff;
}

.user-card h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.user-actions {
    margin-top: 1rem;
}

.user-actions form {
    display: inline-block;
    margin-right: 0.5rem;
}

.user-actions button {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    background: #1d4ed8;
    color: white;
    cursor: pointer;
}

.status-box {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
}



.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.profile-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    background: #fff;
}

.profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-bottom: 1rem;
}

.profile-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    margin-bottom: 1rem;
}

.profile-card input[type="text"],
.profile-card input[type="file"] {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.5rem;
}