/**************************************
 * 1) IMPORT + RESET
 **************************************/
 @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 
 /**************************************
  * 2) BODY-STYLING & GLOBAL
  **************************************/
 body {
     font-family: 'Lato', sans-serif;
     background-color: #f7f7f7;
     color: #000; /* All tekst svart */
 }
 
 a {
     color: #000;
     text-decoration: none;
 }
 
 /**************************************
  * 3) BASIC CONTAINERS & SECTIONS
  **************************************/
 /* Hovedcontainer (index.php o.l.) */
 .container {
     max-width: 800px;
     margin: 2rem auto;
     padding: 1rem;
     background-color: #ffffff;
     border-radius: 10px;
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
 }
 
 /* Rød separator */
 .red-separator {
     width: 25%;
     height: 2px;
     background: #FF0000;
     margin: 1rem auto;
 }
 
 /**************************************
  * 4) HEADER, LOGO & NAVBAR
  **************************************/
 header {
     background-color: #ffffff;
     padding: 1rem;
     border-bottom: 2px solid #FF0000;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }
 .logo {
    max-width: 300px; /* Juster størrelsen etter behov */
    height: auto;
    display: block;
    margin: 0 auto 15px; /* Sentrerer bildet og gir litt mellomrom under */
}
 .logo img {
     max-width: 100%;
     max-height: 50px;
     display: block;
 }
 
 .navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }
 
 /**************************************
  * 5) HERO & SEARCH
  **************************************/
 .hero {
     text-align: center;
     margin-bottom: 1rem;
 }
 .hero h1 {
     font-size: 2rem;
     color: #000;
 }
 .hero p {
     font-size: 0.9rem;
     color: #555;
     margin-top: 0.5rem;
 }
 
 .search {
     text-align: center;
     margin-bottom: 1.5rem;
 }
 .search form {
     display: inline-block;
 }
 .search input[type="text"] {
     padding: 0.5rem;
     border: 1px solid #ccc;
     border-radius: 4px;
     font-size: 0.9rem;
     color: #000;
 }
 .search button.btn {
     margin-left: 0.5rem;
 }
 
 /**************************************
  * 6) STATISTICS
  **************************************/
 .stats {
     display: flex;
     justify-content: space-around;
     background: #fff;
     padding: 1rem;
     border-radius: 8px;
     box-shadow: 0 1px 4px rgba(0,0,0,0.1);
     margin-bottom: 1.5rem;
 }
 .stats .stat-item {
     text-align: center;
 }
 .stats .stat-item h2 {
     font-size: 1.5rem;
     color: #000;
 }
 .stats .stat-item p {
     font-size: 0.8rem;
     color: #777;
 }
 
 /**************************************
  * 7) COMPETITION OVERVIEW (INDEX)
  **************************************/
 .competition-section {
     display: flex;
     gap: 1.5rem;
     margin-bottom: 1.5rem;
 }
 .card {
     flex: 1;
     background: #fff;
     padding: 1rem;
     border-radius: 8px;
     box-shadow: 0 1px 4px rgba(0,0,0,0.1);
 }
 .card h2 {
     font-size: 1.5rem;
     color: #000;
     margin-bottom: 0.5rem;
 }
 .card ul {
     list-style: none;
     padding: 0;
     font-size: 0.9rem;
     line-height: 1.4;
     color: #000;
 }
 .card ul li {
     margin-bottom: 0.5rem;
 }
 
 /**************************************
  * 8) ABOUT & QUOTE
  **************************************/
 .about {
     margin-bottom: 1.5rem;
     font-size: 0.9rem;
     line-height: 1.4;
     color: #000;
 }
 .about h2 {
     font-size: 1.5rem;
     color: #000;
     margin-bottom: 0.5rem;
 }
 
 .quote {
     margin: 2rem auto;
     padding: 1rem;
     background: #f9f9f9;
     font-style: italic;
     color: #777;
     font-size: 0.9rem;
 }
 .quote footer {
     text-align: right;
     font-size: 0.8rem;
     background: transparent;
     padding: 0;
     margin: 0;
 }
 /**************************************
 * 9) BUTTONS & LINKS
 **************************************/
.btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #f2f2f2;
    color: #000;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
    background-color: #FF0000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    color: #fff;
}

.nav-links a.btn {
    background-color: #f2f2f2;
    color: #000;
    padding: 0.4rem 1rem;
    margin: 0 0.3rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}
.nav-links a.btn:hover {
    background-color: #FF0000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/**************************************
 * 10) FORMS & INPUTS
 **************************************/
button,
input[type="submit"],
input[type="button"] {
    background-color: #f2f2f2;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #FF0000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/**************************************
 * 11) RESULT LIST & HOVER
 **************************************/
.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.result-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.result-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hover-link {
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
}
.hover-link:hover {
    background-color: #FF0000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

/**************************************
 * 12) MODAL
 **************************************/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    animation: slideIn 0.3s;
    position: relative;
}

.modal-content.login-modal-content {
    max-width: 400px;
}

.modal .close {
    position: absolute;
    top: 0.5rem;
    right: 3rem;
    font-size: 2rem;
    cursor: pointer;
}
.modal .close {
    position: absolute;
    top: 0.3rem;
    right: 3rem;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.modal .close:hover {
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
}
/* Modal styling for profile modals */
.profilemodal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.profilemodal .profilemodal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}
.profilemodal .profilemodal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.profilemodal .profilemodal-close:hover {
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/**************************************
 * 13) FOOTER & BACK-BUTTON
 **************************************/
.site-footer {
    background-color: #ffffff;
    padding: 1rem;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #000;
    font-size: 0.9rem;
}

.back-button {
    text-align: center;
    margin-top: 2rem;
}

/**************************************
 * 14) DOG PROFILE CARD
 **************************************/
.dog-profile-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    background-color: #fff;
    max-width: 600px;
    margin: 1rem auto;
    font-family: 'Lato', sans-serif;
}
.dog-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.dog-name {
    font-size: 1.5rem;
    color: #000;
    margin: 0;
}
.dog-image {
    width: 220px;
    flex-shrink: 0;
}
.dog-image img {
    width: 100%;
    height: auto;
    border: 1px solid red;
    border-radius: 8px;
    padding: 2px;
}
.dog-breed, 
.dog-birth,
.dog-owner,
.dog-owner-email,
.dog-sex {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #000;
}
.edit-button {
    text-align: center;
    margin-top: 1rem;
}

/**************************************
 * 15) OWNER PROFILE CARD
 **************************************/
.owner-profile-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    background-color: #fff;
    max-width: 600px;
    margin: 1rem auto;
    font-family: 'Lato', sans-serif;
}
.owner-profile-header {
    text-align: center;
    margin-bottom: 1rem;
}
.owner-name {
    font-size: 1.5rem;
    color: #000;
    margin: 0;
}
.owner-phone,
.owner-country,
.owner-email {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #000;
}
.dogs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dog-performance {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #444;
}
.results-summary, 
details > summary {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

/**************************************
 * 16) COMPETITION PROFILE CARD
 **************************************/
.competition-profile-card {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: 'Lato', sans-serif;
}
.competition-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.event-details {
    text-align: left;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}
.event-title {
    text-align: right;
}
.event-title .event-name {
    font-size: 2rem;
    color: #000;
    margin-bottom: 0.5rem;
}
.competition-results {
    margin-top: 1rem;
}
.result-section {
    margin-bottom: 2rem;
}
.result-section h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 0.5rem;
}
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
.results-table th,
.results-table td {
    padding: 0.5rem;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.9rem;
}
.results-table th {
    background-color: #f2f2f2;
}
/* Juster kolonnestørrelser */
.results-table th:nth-child(1),
.results-table td:nth-child(1) {
    width: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.results-table th:nth-child(7),
.results-table td:nth-child(7) {
    width: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.results-table a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}
.results-table a:hover {
    color: #FF0000;
}
.competition-extra {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: 1rem;
}

/**************************************
 * 17) COMPETITION HIGHLIGHTS
 **************************************/
.competition-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.competition-highlights .highlight-item {
    text-align: center;
    flex: 1;
    margin: 0 0.5rem;
}
.competition-highlights .highlight-item h3 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.3rem;
    white-space: nowrap;
}
.competition-highlights .highlight-item .highlight-value {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    color: #000;
}
.competition-highlights .highlight-item .highlight-dog {
    font-size: 1rem;
    color: #333;
}
.overall-heading {
    text-align: center;
    margin: 1rem auto;
}
.overall-winners-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}
.highlight-overall-item {
    text-align: center;
    min-width: 150px;
}
.highlight-overall-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

/**************************************
 * 18) DOG PERFORMANCE HIGHLIGHTS (NY)
 **************************************/
.dog-performance-highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    gap: 1rem;
}
.dog-performance-highlights .highlight-item {
    text-align: center;
    margin: 0 0.5rem;
}
.dog-performance-highlights .highlight-item h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 0.3rem;
}
.dog-performance-highlights .highlight-item p {
    margin: 0.2rem 0;
    color: #333;
    font-size: 1rem;
}
.dog-performance-highlights .highlight-item .highlight-value {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
    color: #000;
}

/**************************************
 * 19) DOG-SELECTION (profile-sider)
 **************************************/
.dog-selection-section {
    margin-bottom: 2rem;
    text-align: center;
}
.dog-selection-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}
.error-message {
    color: #FF0000;
    font-size: 1rem;
    margin-top: 1rem;
}
.dog-select-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.dog-select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}
.dog-profile-container {
    margin-top: 2rem;
}

/**************************************
 * 20) FORM PAGES
 **************************************/
.form-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: 'Lato', sans-serif;
}
.page-title {
    font-size: 2rem;
    color: #000;
    text-align: center;
    margin-bottom: 1.5rem;
}
.form-container {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="file"],
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.form-actions {
    text-align: center;
    margin-top: 1.5rem;
}
.form-actions .btn {
    margin: 0 0.5rem;
}
.btn.btn-secondary {
    background-color: #f2f2f2;
    color: #000;
}
input#selectedDog {
    width: 200px !important;
    flex: 0 0 auto !important;
}
#searchResults {
    margin-top: 10px;
}
/* Ny styling for hunde-gitteret på profile.php */
.dog-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
    align-items: start;
}

.dog-grid-item {
    width: 100%;
    max-width: 150px; /* Juster størrelsen etter behov */
    text-align: center;
}

.dog-grid-image {
    width: 100%;
    height: 150px; /* Juster høyden etter behov */
    overflow: hidden;
  }

.dog-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    /* Fjern evt. tidligere definert størrelse, slik at bildet skaleres etter containeren */
}

/* Ensure the event list is structured like the index.php design */
.competition-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

/* Better layout for the event list */
.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each event is inside a neat box */
.event-item {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Event name */
.event-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Event description */
.event-item p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #555;
}

/* Highlight the event date */
.event-date {
    font-weight: bold;
    color: #000;
}

/* Improve the map container */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    margin-top: 1rem;
}
.owner-info-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* Litt avstand mellom feltene */
}

.owner-info-form label {
    font-weight: bold;
}

.owner-info-form input {
    width: 100%; /* Sørger for at feltene fyller linjen */
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.footer-content {
    text-align: center;
    padding: 1rem;
    background-color: #f5f5f5; /* valgfritt: lys bakgrunn for foten */
}

.company-logo {
    max-width: 150px; /* Juster størrelsen etter behov */
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}
/* ============================== */
/*  KOMPAKT OG RØFF LOGIN-STIL   */
/* ============================== */

.login-container {
    max-width: 350px;
    margin: 2rem auto;
    background: #ffffff; /* Hvit bakgrunn */
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Input-feltene */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2); /* Grålig kant */
    border-radius: 4px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #000;
    transition: all 0.2s ease-in-out;
}

/* Når input-feltet er aktivt */
.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #ff0000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

/* Placeholder-styling */
.login-container input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-style: normal;
}

/* Login-knapp */
.login-container .btn {
    width: 30%;
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Lato", sans-serif;
    font-weight: bold;
    background: #ddd; /* Nøytral farge */
    color: #000; /* Sort tekst */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: 12px; /* **Mellomrom mellom passordfeltet og knappen** */
}

/* Knapp hover-effekt */
.login-container .btn:hover {
    background: #ff0000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

/* Feilmelding */
.error-message {
    color: #ff0000;
    font-size: 12px;
    font-weight: bold;
    background: rgba(255, 0, 0, 0.1);
    padding: 6px;
    border-radius: 4px;
    margin-bottom: 1rem;
}
/* Container og seksjoner */
.container.system-guide {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Topp-seksjonen */
.intro {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 2rem;
    color: #000000;
    margin: 0;
}

.subtitle {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
}

/* Guide-section */
.guide-section {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
}

.guide-section .section-title {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.guide-section ul {
    list-style: disc;
    margin-left: 1.5rem;
}

/* --- Tab Navigation Styles --- */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ccc;
  }
  .tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    background: #f7f7f7;
    border: none;
    outline: none;
    font-size: 1rem;
    transition: background 0.3s;
    margin: 0 0.25rem;
  }
  .tab.active {
    background: #ff7e5f;
    color: #fff;
  }
  .tab:hover {
    background: #feb47b;
  }
  .tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
  }
  .tab-content.active {
    display: block;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* --- Accordion Styles for FAQs --- */
  .accordion {
    border-top: 1px solid #ddd;
  }
  .accordion-item {
    border-bottom: 1px solid #ddd;
  }
  .accordion-header {
    width: 100%;
    text-align: left;
    background: #f7f7f7;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .accordion-header.active,
  .accordion-header:hover {
    background: #ff7e5f;
    color: #fff;
  }
  .accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
    background: #fff;
  }
  .accordion-content p {
    padding: 1rem 0;
  }
  
  /* --- Updates Grid --- */
  .updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
  }
  .update-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  .update-card:hover {
    transform: translateY(-5px);
  }
  .update-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  .update-date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
  }
  .update-content {
    font-size: 1rem;
    color: #555;
  }
  
  /* --- Roadmap Section --- */
  .roadmap-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
  }
  .roadmap-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
  }
  .roadmap-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff7e5f;
  }
  .support-cta {
    margin-top: 2rem;
    text-align: center;
  }
  .support-cta .patreon-btn {
    background: #ff4242;
    padding: 0.75rem 1.5rem;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s ease;
    text-decoration: none;
  }
  .support-cta .patreon-btn:hover {
    background: #e60000;
  }
  
  /* --- Help Center Header --- */
  .helpcenter-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
  }
  
  /* --- Feature Cards --- */
  .feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
    margin-top: 1rem;
  }
  .feature-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease;
  }
  .feature-card:hover {
    transform: translateY(-5px);
  }
  .feature-card h3 {
    margin-bottom: 0.5rem;
    color: #ff7e5f;
  }
  
  /* --- Feedback Form --- */
  .feedback-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .feedback-form .form-group {
    margin-bottom: 1.5rem;
  }
  .feedback-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
  }
  .feedback-form input[type="text"],
  .feedback-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  .feedback-form button.btn {
    padding: 0.75rem 1.5rem;
    background: #ff7e5f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .feedback-form button.btn:hover {
    background: #feb47b;
  }
  
  /* --- Footer --- */
  .help-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }
  .help-footer p {
    margin: 0;
  }
  /* === Modal width override for desktops === */
@media (min-width: 1200px) {
    /* Bootstrap-modals (eller generelle) */
    .modal-dialog {
      max-width: 80%;        /* fyller ca. 80 % av bredden */
    }
  
    /* Hvis du bruker størrelses-klasser ala .modal-lg / .modal-xl */
    .modal-lg  { max-width: 90%; }
    .modal-xl  { max-width: 95%; }
  
    /* Egendefinerte modaler (f.eks. breed-card) */
    .breed-card,
    .custom-modal {
      width: 80vw;           /* 80 % av viewportbredden */
      max-width: 1200px;     /* aldri bredere enn 1200 px */
    }
  }
  /* Remove the old red-hover for dog thumbnails */
.dog-thumb-link:hover {
    background: transparent;
    box-shadow: none;
    color: inherit;
  }
  
  /* Add your soft shadow on image hover */
  .dog-thumb-link img:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  }
  
  /* Avstand mellom seksjoner */
.section-gap {
  margin-top: 1.5rem;
}

/* Informasjonsboks med diskret stil */
.info-box {
  margin-top: 2rem;
  padding: 0.75rem;
  background: #fcfcfc;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  color: #555;
}

/* Søkelisten */
.results-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.result-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* Hover-effekt på lenker */
.hover-link {
  text-decoration: none;
  color: #000000;
}

.hover-link:hover {
  text-decoration: underline;
  color: #000000;
}

/* Stil på markering av søketreff */
mark {
  background-color: #ffeb3b;
  padding: 0 2px;
  border-radius: 2px;
}
