body {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
    background-color: #FDFBF7;
    color: #2C2416;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding: 30px 0;
}

.secondary-bg {
    background: #F5E6D34D;
}

.third-bg {
    background: linear-gradient(90deg, #FF8C42 0%, #F89143 7.14%, #F29643 14.29%, #EB9B44 21.43%, #E49F44 28.57%, #DDA345 35.71%, #D5A745 42.86%, #CDAB46 50%, #C5AF47 57.14%, #BDB347 64.29%, #B4B648 71.43%, #ABB948 78.57%, #A1BD49 85.71%, #96C049 92.86%, #8BC34A 100%);
}

.third-bg h2,
.third-bg p {
    color: #ffffff;
}

.container {
    margin: 0 auto;
    width: 80%;
}

.flex {
    display: flex;
}

.grid-container {
    display: grid;
    grid-template-rows: auto auto auto;
    row-gap: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 48px;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
}

h2 + p {
    font-size: 1.125rem;
    text-align: center;
}

p {
    color: #6B5B45;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 28px;
}

a {
    color: #FF8C42;
}

img {
    border-radius: 10px;
}

.txt-center {
    text-align: center;
}

button.cto-green {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-style: double;
    border-color: rgba(255, 167, 112, 0.50);
    color: #2C2416;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5px 15px;
    margin-top: 20px;
    cursor: pointer;
}

button.cto-green:hover {
    color: #000000;
    background-color: #8BC34A;
    border-color: #8BC34A;
}

button.cto-orange {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-style: double;
    border-color: #FF8C42;
    background-color: #FF8C42;
    color: #000000;
    border-radius: 10px;
    padding: 5px 15px;
    margin-top: 20px;
    cursor: pointer;
}

button.cto-orange:hover {
    background-color: #ffa770;
    border-color: #ffa770;
    color: #2C2416;
}

button.cto-white {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-style: double;
    border-color: #FF8C42;
    background-color: #ffffff;
    color: #2C2416;
    border-radius: 10px;
    padding: 10px 15px;
    margin-top: 20px;
    cursor: pointer;
}

button.cto-white:hover {
    background-color: #ffece0;
    border-color: #ffa770;
    color: #2C2416;
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 0;
    padding: 10px 20px;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 0.875rem;
    margin-top: 8px;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-disabled:hover {
    background-color: #FF8C42;
    border-color: #FF8C42;
}

header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 1px 1px #F5E6D3;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

footer {
    background-color: rgb(255, 255, 255);
    padding-top: 15px;
}

header > div.nav,
footer > div.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

header > div.nav > div.logo > a,
footer > div.container > div.logo {
    display: flex;
    align-items: center;
}

header div.logo > a {
    color: #000000;
    text-decoration: none;
}

header div.logo > a > span {
    font-size: 1.3rem;
    font-weight: 600;
}

footer > div.container > div.logo {
    font-size: 1rem;
    font-weight: 600;
    gap: 8px;
}

header > div.nav.container:last-child button.cto-green {
    margin-right: 20px;
}

button.cto-orange + button.cto-green {
    margin-left: 20px;
}

.header-dashboard {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(255, 140, 66, 0.20);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-dashboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}

.nav-dashboard .logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2C2416;
    font-size: 1.25rem;
    font-weight: 600;
}

.dashboard-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #6B5B45;
    font-size: 1rem;
    font-weight: 400;
    transition: background 0.2s;
}

.nav-link i {
    font-size: 1.25rem;
}

.nav-link:hover {
    background: rgba(255, 140, 66, 0.08);
    color: #2C2416;
}

.nav-link-active {
    background: rgba(255, 140, 66, 0.10);
    color: #FF8C42;
    font-weight: 500;
}

.nav-link-active i {
    color: #FF8C42;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B5B45;
    font-size: 0.875rem;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background 0.2s;
}

.nav-profile i {
    font-size: 1.25rem;
}

.nav-profile:hover {
    background: rgba(255, 140, 66, 0.08);
    color: #2C2416;
}

.card {
    border-radius: 1.25rem;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    background-color: #ffffff;
    padding: 20px;
}

.s-card {
    border-radius: 1.25rem;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 140, 66, 0.10);
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background: #8BC34A;
}

.check-icon>i {
    font-size: 16px;
}

#hero-banner {
    background: linear-gradient(135deg, #F5E6D3 0%, #FDFBF7 50%, rgba(139, 195, 74, 0.4) 100%);
}

#hero-banner > div.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hero-banner > div.container > div#hero-text {
    width: 100%;
}

#hero-banner > div.container > div#hero-img {
    width: 100%;
}

#hero-banner > div.container > div#hero-img > img {
    width: inherit;
}

#hero-banner > div.container > div#hero-text > div.flex {
    padding-bottom: 30px;
    gap: 20px;
}

.gallery {
    justify-content: space-between;
}

div.gallery.flex {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

div.gallery.flex img {
    display: inline-block;
    width: inherit;
}

.auth-section {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #F5E6D3 0%, #FDFBF7 60%, rgba(139, 195, 74, 0.2) 100%);
}

.auth-container {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: stretch;
}

.auth-card {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    padding: 40px;
    flex: 1;
    max-width: 480px;
}

.auth-card-wide {
    max-width: 600px;
    flex: 1.3;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: #2C2416;
}

.auth-header p {
    font-size: 1rem;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2C2416;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 10px 12px 10px 40px;
    border: 1.6px solid rgba(255, 140, 66, 0.30);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: #2C2416;
    background: #FDFBF7;
    box-sizing: border-box;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: #FF8C42;
    background: #ffffff;
}

.form-group.error .input-wrapper input,
.form-group.error .input-wrapper select {
    border-color: #D4183D;
}

.field-error {
    margin: 4px 0 0;
}

.input-wrapper input::placeholder {
    color: #6B5B45;
    opacity: 0.6;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #6B5B45;
    font-size: 1.125rem;
    pointer-events: none;
}

.input-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6B5B45;
    font-size: 1.125rem;
    padding: 4px;
    margin: 0;
    display: flex;
    align-items: center;
}

.input-toggle:hover {
    color: #2C2416;
}

.input-wrapper-select::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-top-color: #6B5B45;
    pointer-events: none;
}

.forgot-link {
    font-size: 0.8125rem;
    color: #FF8C42;
    text-decoration: none;
    align-self: flex-end;
    margin-top: 4px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: #6B5B45;
}

.form-check label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.form-check-between {
    justify-content: space-between;
    align-items: center;
}

.form-check-between label {
    align-items: center;
}

.auth-container-single {
    justify-content: center;
}

.dog-form-subheader {
    margin-bottom: 24px;
}

.dog-form-subheader h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 500;
    color: #2C2416;
}

.dog-form-subheader p {
    margin: 0;
    font-size: 1rem;
}

.dog-photo-picker {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dog-photo-preview {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 1rem;
    background: #F5E6D3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6B5B45;
}

.btn-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-top: 0;
}

.dog-photo-hint {
    font-size: 0.75rem;
    color: #6B5B45;
    margin: 8px 0 0;
}

.dog-form-tip {
    background: #F5E6D3;
    border-radius: 0.75rem;
    padding: 16px;
}

.dog-form-tip p {
    margin: 0;
    font-size: 0.875rem;
    color: #2C2416;
}

.form-check input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #FF8C42;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check a {
    color: #FF8C42;
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-actions button {
    flex: 1;
}

.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    accent-color: #FF8C42;
    width: 16px;
    height: 16px;
}

.radio-label {
    font-size: 0.9rem;
    color: #2C2416;
    padding: 6px 14px;
    border: 1.6px solid rgba(255, 140, 66, 0.30);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option input[type="radio"]:checked+.radio-label {
    background: rgba(255, 140, 66, 0.10);
    border-color: #FF8C42;
    color: #FF8C42;
    font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #6B5B45;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 140, 66, 0.20);
}

.auth-footer {
    text-align: center;
    margin-top: 8px;
}

.auth-footer p {
    font-size: 0.9rem;
    margin: 0;
}

.auth-footer a {
    color: #FF8C42;
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, #FF8C42 0%, #8BC34A 100%);
    border-radius: 1.5rem;
    padding: 48px 40px;
    display: none;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.auth-visual h2 {
    color: #ffffff;
    font-size: 1.75rem;
    text-align: left;
    line-height: 1.3;
    margin: 16px 0 12px;
}

.auth-visual p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0 0 24px;
}

.auth-badge {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-feature-item .check-icon {
    background: rgba(255, 255, 255, 0.25);
    min-width: 24px;
}

.register-steps {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 140, 66, 0.15);
    border: 2px solid rgba(255, 140, 66, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B5B45;
}

.step.active .step-circle {
    background: #FF8C42;
    border-color: #FF8C42;
    color: #ffffff;
}

.step span {
    font-size: 0.75rem;
    color: #6B5B45;
    white-space: nowrap;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 140, 66, 0.20);
    margin-bottom: 20px;
}

.confirm-block {
    text-align: center;
    padding: 16px 0 8px;
}

.confirm-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C2416;
    margin: 8px 0 4px;
}

.confirm-block p {
    font-size: 0.9rem;
    margin: 0;
}

.summary-card {
    background: #F5E6D34D;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FF8C42;
}

.summary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #2C2416;
}

.summary-row i {
    color: #6B5B45;
    font-size: 1rem;
}

.main-dashboard {
    padding: 40px 0 60px;
    min-height: calc(100vh - 130px);
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #2C2416;
}

.page-subtitle {
    font-size: 1rem;
    margin: 0;
    color: #6B5B45;
}

.courses-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.search-bar {
    position: relative;
    max-width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 8px 12px 8px 40px;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: #2C2416;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: #FF8C42;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B5B45;
    font-size: 1.125rem;
    pointer-events: none;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-tag {
    padding: 6px 14px;
    background: #FDFBF7;
    border: 1px solid rgba(255, 140, 66, 0.20);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2C2416;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.filter-tag:hover {
    background: rgba(255, 140, 66, 0.08);
    border-color: #FF8C42;
}

.filter-tag-active {
    background: #FF8C42;
    border-color: #FF8C42;
    color: #ffffff;
}

.courses-count {
    font-size: 0.875rem;
    color: #6B5B45;
    font-weight: 400;
    margin: 0 0 20px;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.course-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.course-card:hover {
    box-shadow: 0 4px 24px rgba(255, 140, 66, 0.12);
}

.course-card-full {
    opacity: 0.85;
}

.course-card-img {
    position: relative;
}

.course-card-img img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.course-badge-available {
    background: #8BC34A;
}

.course-badge-low {
    background: #FF6900;
}

.course-badge-full {
    background: #D4183D;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2C2416;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    margin: 24px 0 16px;
}

.back-link:hover {
    color: #FF8C42;
}

.course-detail-hero {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 24px;
}

.course-detail-hero img {
    width: 100%;
    max-height: 384px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.course-detail-hero .course-badge {
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    font-size: 1rem;
}

.course-detail-header {
    margin-bottom: 24px;
}

.course-detail-title,
.course-detail-desc {
    text-align: left;
}

.course-detail-infogrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.course-detail-infocard {
    background: #ffffff;
    border-radius: 1rem;
    padding: 20px 24px;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    display: flex;
    align-items: center;
    gap: 20px;
}

.course-detail-infolabel {
    font-size: 1rem;
    font-weight: 500;
    color: #2C2416;
    margin: 0 0 4px;
}

.course-detail-infovalue {
    font-size: 0.875rem;
    color: #6B5B45;
    margin: 0;
}

.course-detail-infocard i {
    font-size: 1.25rem;
}

.course-detail-coach {
    background: #ffffff;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    border-radius: 1rem;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.course-detail-coach-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 1rem;
    background: #FF8C42;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.course-detail-coach h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 500;
    color: #2C2416;
}

.course-detail-coach p {
    margin: 0;
    font-size: 1rem;
    color: #6B5B45;
}

.course-card-body {
    padding: 20px 24px 0;
}

.course-card-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #2C2416;
    margin: 0 0 6px;
}

.course-card-desc {
    font-size: 1rem;
    color: #6B5B45;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.course-footer {
    padding: 16px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6B5B45;
    font-weight: 400;
}

.course-detail i {
    font-size: 1rem;
    color: #6B5B45;
    flex-shrink: 0;
}

.coach-info strong {
    color: #2C2416;
    font-weight: 500;
}

.no-results p {
    font-size: 1rem;
    color: #6B5B45;
    margin: 0;
}

.dashboard-welcome {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-welcome button {
    margin-top: 0;
    white-space: nowrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2416;
    line-height: 1;
}

.stat-card-label {
    font-size: 0.8125rem;
    color: #6B5B45;
    font-weight: 400;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.dashboard-widget {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    padding: 24px;
    margin-bottom: 24px;
}

.dashboard-widget:last-child {
    margin-bottom: 0;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C2416;
    margin: 0;
    text-align: left;
}

.widget-link {
    font-size: 0.875rem;
    color: #FF8C42;
    text-decoration: none;
    font-weight: 500;
}

.widget-subtitle {
    font-size: 0.875rem;
    color: #6B5B45;
    margin: 4px 0 0;
    text-align: left;
}

.widget-button {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 0.75rem;
    background: #FDFBF7;
    color: #2C2416;
    border: 1.2px solid rgba(255, 140, 66, 0.20);
}

.dogs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dogs-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 1rem;
    background: #FDFBF7;
    text-decoration: none;
    transition: background 0.2s;
}

.dogs-list-item:hover {
    background: rgba(255, 140, 66, 0.10);
}

.dogs-list-item-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.dogs-list-item-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 66, 0.15);
    color: #ff8c42;
    font-size: 32px;
}

.dogs-list-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.dogs-list-item-info {
    flex: 1;
}

.dogs-list-item-info h3 {
    margin: 0 0 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C2416;
}

.dogs-list-item-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #6B5B45;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upcoming-item {
    background: #F5E6D3;
    border-radius: 1rem;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upcoming-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.upcoming-item-header h3 {
    margin: 0 0 2px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C2416;
}

.upcoming-item-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #6B5B45;
}

.upcoming-item-header .status-badge {
    background: #8BC34A;
    color: #ffffff;
    white-space: nowrap;
}

.upcoming-item .course-detail {
    font-size: 0.875rem;
    color: #6B5B45;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FDFBF7;
    border-radius: 1rem;
    padding: 20px 12px;
    text-decoration: none;
    color: #2C2416;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s;
}

.quick-action-item:hover {
    background: rgba(255, 140, 66, 0.10);
}

.quick-action-item i {
    font-size: 1.5rem;
}

.widget-link:hover {
    text-decoration: underline;
}

.next-course-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #F5E6D34D;
    border-radius: 12px;
    padding: 16px;
    flex-wrap: wrap;
}

.next-course-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    background: #FF8C42;
    border-radius: 10px;
    padding: 8px 12px;
    color: #ffffff;
}

.date-day {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.date-num {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 500;
}

.next-course-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.next-course-card-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2C2416;
}

.next-course-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 16px 0;
}

.flash-message-success {
    background: rgba(139, 195, 74, 0.15);
    color: #5a8a1a;
}

.flash-message-warning {
    background: rgba(255, 140, 66, 0.15);
    color: #c45f00;
}

.flash-message-error {
    background: rgba(220, 53, 69, 0.15);
    color: #a02834;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge-confirmed {
    background: rgba(139, 195, 74, 0.15);
    color: #5a8a1a;
}

.status-badge-pending {
    background: rgba(255, 140, 66, 0.15);
    color: #c45f00;
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservation-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 140, 66, 0.10);
}

.reservation-item:last-child {
    border-bottom: none;
}

.reservation-item-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
}

.reservation-item-dot-orange {
    background: #FF8C42;
}

.reservation-item-dot-green {
    background: #8BC34A;
}

.reservation-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reservation-item-info strong {
    font-size: 0.9375rem;
    color: #2C2416;
}

.reservation-item-info span {
    font-size: 0.8125rem;
    color: #6B5B45;
    font-weight: 400;
}

.dog-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.dog-card-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 140, 66, 0.25);
}

.dog-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.dog-card-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2C2416;
    margin: 0 0 2px;
}

.dog-card-info p {
    font-size: 0.875rem;
    margin: 0 0 10px;
}

.dog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dog-tag {
    padding: 3px 10px;
    background: rgba(255, 140, 66, 0.10);
    border: 1px solid rgba(255, 140, 66, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #2C2416;
    font-weight: 500;
}

/* Barre de progression */
.dog-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #2C2416;
    font-weight: 500;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 140, 66, 0.15);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF8C42, #8BC34A);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.dog-progress-label {
    font-size: 0.8125rem;
    color: #6B5B45;
    font-weight: 400;
    margin: 6px 0 0;
}

.suggested-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 140, 66, 0.10);
}

.suggested-item:last-child {
    border-bottom: none;
}

.suggested-item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 140, 66, 0.10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.suggested-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggested-item-info strong {
    font-size: 0.9rem;
    color: #2C2416;
}

.suggested-item-info span {
    font-size: 0.8125rem;
    color: #6B5B45;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 5px 0;
    }

    header > div.nav > div.logo {
        padding-bottom: 0;
    }

    .form-row {
        flex-direction: column;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .header-dashboard {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0;
        border-bottom: none;
        border-top: 1px solid rgba(255, 140, 66, 0.20);
    }

    body:has(.header-dashboard) {
        padding-bottom: 70px;
    }

    .nav-dashboard {
        padding: 6px 0;
        gap: 0;
    }

    .nav-dashboard .logo,
    .dashboard-nav span,
    .nav-profile span {
        display: none;
    }

    .dashboard-nav {
        flex: 1;
        justify-content: space-around;
        gap: 0;
    }

    .nav-actions {
        gap: 0;
    }

    .nav-link,
    .nav-profile {
        padding: 10px 14px;
    }

    .nav-link i,
    .nav-profile i {
        font-size: 1.5rem;
    }
}

@media (min-width: 600px) {

    header > div.nav,
    footer > div.container {
        padding: 10px 0 10px 0;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .auth-visual {
        display: flex;
    }

    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    footer {
        padding-top: 0;
    }

    .grid-container {
        grid-template-columns: auto auto auto;
        column-gap: 20px;
    }

    section {
        padding: 80px 0;
    }

    h1 {
        font-size: 50px;
        font-weight: 700;
        line-height: 48px;
    }

    button.cto-green {
        font-size: 1rem;
        padding: 10px 20px;
    }

    button.cto-orange {
        font-size: 1rem;
        padding: 10px 20px;
    }

    #hero-banner > div.container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }

    #hero-banner > div.container > #hero-text > div.flex {
        padding-bottom: 0;
    }

    div.gallery.flex {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: unset;
        justify-content: center;
        gap: 20px;
    }

    div.gallery.flex img {
        width: calc(25% - 15px);
    }

    .courses-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 380px;
    }

    .dashboard-grid-even {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.icon-orange {
    color: #FF8C42;
}

.icon-green {
    color: #8BC34A;
}

.icon-white {
    color: #ffffff;
}

.icon-lg {
    font-size: 2rem;
}

.icon-xl {
    font-size: 3rem;
}

.icon-search-empty {
    font-size: 2.5rem;
    color: #6B5B45;
    opacity: 0.4;
}

.stat-card-icon-orange {
    background: rgba(255, 140, 66, 0.10);
}

.stat-card-icon-green {
    background: rgba(139, 195, 74, 0.10);
}

.form-errors {
    background: rgba(212, 24, 61, 0.07);
    border: 1.6px solid rgba(212, 24, 61, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.form-error {
    color: #D4183D;
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.form-criteria {
    margin-top: 8px;
}

.form-criteria p {
    margin: 0 0 4px;
    font-size: 0.8125rem;
    color: #6B5B45;
}

.form-criteria ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-criteria li {
    font-size: 0.8125rem;
    color: #6B5B45;
    padding-left: 20px;
    position: relative;
}

.form-criteria li::before {
    content: "\2022";
    position: absolute;
    left: 6px;
}

.form-criteria li.success {
    color: #8BC34A;
}

.form-criteria li.success::before {
    content: "\2713";
    left: 4px;
}

.form-criteria li.error {
    color: #D4183D;
}

/* Aucun résultat */
.no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    text-align: center;
}

.error-404 {
    text-align: center;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.error-404-icon {
    font-size: 3rem;
    color: #6B5B45;
    margin-bottom: 8px;
}

.error-404-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2C2416;
    margin: 8px 0 8px;
    text-align: center;
}

.error-404-btn {
    margin-top: 16px;
}
/* Page "Mes chiens" : vue carte */
.dog-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.dog-profile-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    overflow: hidden;
}

.dog-profile-card-img {
    height: 200px;
    background: #F5E6D3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #FF8C42;
}

.dog-profile-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.dog-profile-card-body {
    padding: 20px;
}

.dog-profile-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dog-profile-card-title h3 {
    margin: 0;
    font-size: 1.5rem;
}

.dog-profile-card-title a {
    color: #6B5B45;
    font-size: 1.25rem;
}

.dog-profile-card-breed {
    margin: 4px 0 12px;
}

.dog-profile-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.dog-profile-card-stat {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 140, 66, 0.20);
    font-size: 0.875rem;
    color: #6B5B45;
}

.dog-profile-card-stat strong {
    color: #2C2416;
}

.dog-profile-card-actions {
    display: flex;
    gap: 10px;
}

.dog-profile-card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: 0.75rem;
    background: #FDFBF7;
    border: 1.2px solid rgba(255, 140, 66, 0.20);
    color: #2C2416;
    text-decoration: none;
    font-size: 0.875rem;
}

.dog-profile-card-btn:hover {
    background: rgba(255, 140, 66, 0.10);
}

@media (min-width: 600px) {
    .dog-profile-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .dog-profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Liens désactivés (fonctionnalité pas encore disponible) */
.nav-link-disabled,
.nav-link-disabled:hover {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    background: transparent;
}

/* Liens vers la fiche d'un cours */
.course-card-link,
.upcoming-item-link {
    text-decoration: none;
    color: inherit;
}

.course-card-link {
    display: block;
}

.upcoming-item-link:hover {
    filter: brightness(0.97);
}

/* Fiche cours : alerte d'âge, à prévoir, avis d'inéligibilité */
.course-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    border-radius: 1rem;
    color: #d6336c;
    font-size: 0.875rem;
}

.course-alert strong {
    display: block;
}

.course-todo-title {
    margin: 0 0 12px;
}

.course-todo-list {
    margin: 0;
    padding-left: 20px;
    color: #6B5B45;
    font-weight: 400;
}

.course-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1.6px solid rgba(255, 140, 66, 0.20);
    border-radius: 1rem;
}

.course-notice p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Fiche cours : éligibilité confirmée, objectifs, lieu, actions */
.course-alert-ok {
    background: rgba(139, 195, 74, 0.12);
    border-color: rgba(139, 195, 74, 0.5);
    color: #4f7a1f;
}

.course-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.course-info-grid .dashboard-widget {
    margin-bottom: 0;
}

.course-goal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #6B5B45;
    font-weight: 400;
    font-size: 0.875rem;
}

.course-goal-list i {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #8BC34A;
    color: #ffffff;
    font-size: 0.75rem;
    margin-right: 6px;
}

.course-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B5B45;
}

.course-notice {
    margin-bottom: 20px;
}

.course-actions {
    margin: 24px 0;
}

.course-actions-row {
    display: flex;
    gap: 12px;
}

.course-actions-row button {
    flex: 1;
    margin-top: 0;
    padding: 10px 15px;
}

@media (min-width: 768px) {
    .course-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.course-cancel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.course-cancel-list button {
    margin-top: 0;
}
