@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   Login / Register page
   ============================================ */

.body-login-page {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/6-images/login-page.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.body-login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.form-box {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-box h2.login {
    font-size: 24px;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.3px;
}

.input-login {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1a2b4a;
    background: #f8f9fb;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
}

.input-login:focus {
    outline: none;
    border-color: #1a2b4a;
    box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.1);
    background: #fff;
}

.input-login::placeholder {
    color: #9aa3af;
    font-size: 13px;
}

.password-container {
    position: relative;
    margin-bottom: 14px;
}

.password-container .input-login {
    margin-bottom: 0;
    padding-right: 44px;
}

.toggle-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #9aa3af;
    padding: 0;
    line-height: 1;
}

.toggle-icon:hover {
    color: #1a2b4a;
}

.btn-login {
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.btn-login:hover {
    background: #333;
}

.btn-login:active {
    transform: scale(0.98);
}

.p-login {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
}

.p-login a {
    color: #111;
    font-weight: 500;
    text-decoration: none;
}

.p-login a:hover {
    text-decoration: underline;
}

.error-message {
    margin-top: 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 12px 14px;
    display: none;
}

.error-message:has(p) {
    display: block;
}

.error-message p {
    color: #b91c1c;
    font-size: 13px;
    margin-bottom: 4px;
}

.error-message p:last-child {
    margin-bottom: 0;
}

.success-message {
    margin-top: 16px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 12px 14px;
    display: none;
}

.success-message:has(p) {
    display: block;
}

.success-message p {
    color: #15803d;
    font-size: 13px;
}

/* ============================================
   Index page
   ============================================ */

.gc-nav {
    background: #fff;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 1px solid #e4e6ea;
}

.gc-nav-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gc-nav-badge {
    width: 36px;
    height: 36px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.gc-nav-title {
    font-size: 14px;
    color: #111;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.gc-nav-right {
    display: flex;
    gap: 10px;
}

.gc-nav-right a {
    text-decoration: none;
}

.gc-nav-login {
    padding: 9px 24px;
    border: 2px solid #111;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    background: #fff;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.gc-nav-login:hover {
    background: #111;
    color: #fff;
}

.gc-nav-register {
    padding: 9px 24px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #111;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.gc-nav-register:hover {
    background: #333;
    border-color: #333;
}

.gc-banner {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.gc-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.gc-hero {
    background: #fff;
    border-bottom: 1px solid #e4e6ea;
    padding: 56px 48px;
    text-align: center;
}

.gc-hero-tag {
    display: inline-block;
    background: #f4f5f7;
    color: #444;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #e4e6ea;
}

.gc-hero h1 {
    font-family: 'Source Serif 4', serif;
    font-size: 40px;
    font-weight: 600;
    color: #111;
    line-height: 1.15;
    margin-bottom: 16px;
}

.gc-hero p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

.gc-cards {
    padding: 64px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.gc-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px 28px;
    border: 1px solid #e4e6ea;
}

.gc-card-icon {
    width: 44px;
    height: 44px;
    background: #f4f5f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.gc-card-icon svg {
    width: 20px;
    height: 20px;
}

.gc-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.gc-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.gc-how {
    background: #fff;
    border-top: 1px solid #e4e6ea;
    border-bottom: 1px solid #e4e6ea;
    padding: 64px 48px;
    text-align: center;
}

.gc-how h2 {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.gc-how-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 48px;
    font-family: 'Inter', sans-serif;
}

.gc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.gc-step {
    text-align: center;
    padding: 0 12px;
}

.gc-step-num {
    width: 36px;
    height: 36px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.gc-step h4 {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.gc-step p {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.gc-footer {
    background: #fff;
    border-top: 1px solid #e4e6ea;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gc-footer span {
    font-size: 12px;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
}

.gc-footer a {
    font-size: 12px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.gc-footer a:hover {
    text-decoration: underline;
}

.body-dashboard {
    font-family: 'Inter', sans-serif;
    background: #f4f5f7;
    min-height: 100vh;
}

.db-header {
    background: #fff;
    border-bottom: 1px solid #e4e6ea;
    padding: 32px 48px;
}

.db-header-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
}

.db-header h1 {
    font-family: 'Source Serif 4', serif;
    font-size: 28px;
    font-weight: 600;
    color: #111;
}

.db-nav-user {
    font-size: 13px;
    color: #6b7280;
}

.db-nav-logout {
    font-size: 13px;
    color: #111;
    font-weight: 500;
    border: 1px solid #e4e6ea;
    padding: 7px 16px;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.db-nav-logout:hover {
    background: #f4f5f7;
}

.db-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 32px 48px 0;
    max-width: 960px;
}

.db-stat {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    padding: 24px 28px;
}

.db-stat-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.db-stat-num {
    font-size: 32px;
    font-weight: 600;
    color: #111;
}

.db-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px 48px 48px;
    max-width: 960px;
}

.db-action {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: border-color 0.15s;
    text-decoration: none;
}

.db-action:hover {
    border-color: #111;
}

.db-action-icon {
    width: 48px;
    height: 48px;
    background: #f4f5f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-action-icon svg {
    width: 22px;
    height: 22px;
}

.db-action-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.db-action-text p {
    font-size: 13px;
    color: #6b7280;
}

.db-action-arrow {
    margin-left: auto;
    font-size: 20px;
    color: #d1d5db;
}

/* ============================================
   Public dashboard
   ============================================ */

.body-dashboard {
    font-family: 'Inter', sans-serif;
    background: #f4f5f7;
    min-height: 100vh;
}

.db-nav {
    background: #111;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.db-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-nav-badge {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #111;
}

.db-nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.db-nav-user {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.db-nav-right a {
    text-decoration: none;
}

.db-nav-logout {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.db-nav-logout:hover {
    background: rgba(255, 255, 255, 0.1);
}

.db-header {
    background: #111;
    padding: 40px 40px 48px;
    text-align: center;
}

.db-header h1 {
    font-family: 'Source Serif 4', serif;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

.db-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px 48px;
    width: 100%;
}

.db-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.db-stat {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    padding: 20px 24px;
}

.db-stat-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.db-stat-num {
    font-size: 30px;
    font-weight: 600;
    color: #111;
}

.db-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.db-action {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.db-action:hover {
    border-color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.db-action-icon {
    width: 44px;
    height: 44px;
    background: #f4f5f7;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-action-icon svg {
    width: 20px;
    height: 20px;
}

.db-action-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 3px;
}

.db-action-text p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.db-action-arrow {
    margin-left: auto;
    font-size: 20px;
    color: #d1d5db;
    flex-shrink: 0;
}

/* ============================================
   Check status page
   ============================================ */

.db-nav-back {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.db-nav-back:hover {
    color: #fff;
}

.db-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
}

.cs-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.cs-sum-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    padding: 18px 22px;
}

.cs-sum-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cs-sum-num {
    font-size: 24px;
    font-weight: 600;
    color: #111;
}

.cs-table {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    overflow: hidden;
}

.cs-table table {
    width: 100%;
    border-collapse: collapse;
}

.cs-table th {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #e4e6ea;
    background: #f9fafb;
}

.cs-table td {
    font-size: 13px;
    color: #374151;
    padding: 18px 20px;
    border-bottom: 1px solid #f4f5f7;
    vertical-align: top;
}

.cs-table tr:last-child td {
    border-bottom: none;
}

.cs-table tr:hover td {
    background: #fafafa;
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.cs-badge.reported {
    background: #fef3c7;
    color: #92400e;
}

.cs-badge.under-investigation {
    background: #dbeafe;
    color: #1e40af;
}

.cs-badge.resolved {
    background: #d1fae5;
    color: #065f46;
}

.cs-bike {
    font-weight: 600;
    color: #111;
    font-size: 13px;
}

.cs-date {
    color: #9ca3af;
    font-size: 11px;
    margin-top: 3px;
}

.cs-notes {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    line-height: 1.5;
}

.cs-notes-empty {
    font-size: 12px;
    color: #d1d5db;
}

.cs-empty {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    padding: 48px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* ============================================
   My bikes page
   ============================================ */

.mb-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mb-toolbar h2 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.mb-add-btn {
    padding: 9px 20px;
    background: #1e3a5f;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: background 0.15s;
}

.mb-add-btn:hover {
    background: #162d4a;
}

.mb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mb-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    overflow: hidden;
}

.mb-card-img {
    height: 140px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mb-card-img svg {
    width: 40px;
    height: 40px;
}

.mb-card-body {
    padding: 18px 20px;
}

.mb-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.mb-card-sub {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 14px;
}

.mb-card-attrs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
}

.mb-attr {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mb-attr span {
    color: #374151;
    font-weight: 500;
    display: block;
    text-transform: none;
    font-size: 12px;
    margin-top: 2px;
}

.mb-card-footer {
    display: flex;
    gap: 8px;
    border-top: 1px solid #f4f5f7;
    padding-top: 14px;
}

.mb-btn {
    flex: 1;
    padding: 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #e4e6ea;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #374151;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.15s;
}

.mb-btn:hover {
    background: #f4f5f7;
}

.mb-btn.danger {
    color: #b91c1c;
    border-color: #fca5a5;
}

.mb-btn.danger:hover {
    background: #fef2f2;
}

/* ============================================
   Register bike page
   ============================================ */

.rb-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e4e6ea;
    padding: 28px 32px;
    margin-bottom: 20px;
}

.rb-card-title {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f4f5f7;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.rb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rb-field.full {
    grid-column: 1 / -1;
}

.rb-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.rb-input {
    padding: 10px 12px;
    border: 1px solid #dde2ea;
    border-radius: 7px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: #111;
    background: #f8f9fb;
    transition: border-color 0.15s, background 0.15s;
}

.rb-input:focus {
    outline: none;
    border-color: #1e3a5f;
    background: #fff;
}

select.rb-input {
    cursor: pointer;
}

.rb-submit {
    width: 100%;
    padding: 13px;
    background: #1e3a5f;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
    margin-top: 4px;
}

.rb-submit:hover {
    background: #162d4a;
}

/* ============================================
   Report stolen page
   ============================================ */

textarea.rb-input {
    resize: vertical;
    min-height: 90px;
}

.rs-submit {
    width: 100%;
    padding: 13px;
    background: #b91c1c;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
    margin-top: 4px;
}

.rs-submit:hover {
    background: #991b1b;
}

/* ============================================
   View stolen bikes (police)
   ============================================ */

.vb-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.vb-filter {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e4e6ea;
    background: #fff;
    color: #374151;
    transition: all 0.15s;
}

.vb-filter:hover {
    border-color: #1e3a5f;
    color: #1e3a5f;
}

.vb-filter.active {
    background: #1e3a5f;
    color: #fff;
    border-color: #1e3a5f;
}

.vb-update-btn {
    padding: 6px 14px;
    background: #1e3a5f;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.vb-update-btn:hover {
    background: #162d4a;
}