/* Base styles adapted from original design */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
    height: 100%;
    font: 100%/1.5 sans-serif;
    word-wrap: break-word;
    margin: 0 auto;
    padding: 1.5em;
}

@media (min-width: 768px) {
    html {
        font-size: 125%;
        max-width: 48em; /* Slightly wider for fitness app */
    }
}

/* Account Settings Styles */
.settings-container {
    margin: 0;
    padding: 0;
}

/* Page title consistency - match navigation h1 size */
.settings-container h1 {
    /*color: #fa6432;
    text-align: center;
    margin-bottom: 2rem;*/
    font-size: 1.5em;
}

.leaderboard-container h1.title {
    font-size: 1.5em;
}

.about-container h1 {
    font-size: 1.5em;
}

.account-info-section, .settings-section {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.02);
    border-radius: 6px;
}

.account-info-section h2, .settings-section h2 {
    margin-top: 0;
    /*color: #fa6432;*/
    color: #333;
    border-bottom: 1px solid rgba(250, 100, 50, 0.3);
    padding-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

.info-value {
    color: #666;
    font-family: monospace;
    padding: 0.5rem;
    background-color: rgba(200, 200, 200, 0.1);
    border: 1px solid rgba(250, 100, 50, 0.2);
    border-radius: 4px;
}

.settings-form {
    margin-top: 1.5rem;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form input {
    max-width: 400px;
}

.password-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(250, 100, 50, 0.05);
    border: 1px solid rgba(250, 100, 50, 0.2);
    border-radius: 4px;
}

.password-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    /*color: #fa6432;*/
    color: #333;
    font-size: 1em;
}

.password-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.password-info li {
    margin: 0.5rem 0;
    color: #666;
    line-height: 1.4;
}

.account-actions {
    text-align: center;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive settings */
@media (max-width: 768px) {
    .account-info-section, .settings-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-form input {
        max-width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn-primary,
    .action-buttons .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(250, 100, 50, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-container h1 {
    margin: 0;
    font-size: 1.5em;
    /*color: #333;*/
    color: #fa6432;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    color: #fa6432;
    text-decoration: none;
    padding: 0.25em 0.5em;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a:focus {
    text-decoration: underline;
    background: rgba(250, 100, 50, 0.1);
}

/* Typography */
h1, h2, h3, h4 {
    margin: 2.5rem 0 1.5rem 0;
    line-height: 1.25;
    color: #333;
}

h1.title {
    font-size: 2.5em;
    margin: 1rem 0;
}

h2 {
    font-size: 1.5em;
    margin: 2rem 0 1rem 0;
}

h3 {
    font-size: 1.25em;
    margin: 1.5rem 0 1rem 0;
}

p {
    margin: 1em 0;
    line-height: 1.5;
}

/* Links */
a {
    color: #fa6432;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    text-decoration: underline;
}

/* Main content containers */
main {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.auth-container, .dashboard-container, .form-container, .history-container, .progress-container {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.05);
}

/* Flash messages */
.flash-messages {
    margin: 1rem 0;
}

.alert {
    padding: 1em;
    margin: 1em 0;
    border: 1px dashed rgba(250, 100, 50, 0.5);
    background-color: rgba(250, 100, 50, 0.1);
    color: #333;
}

/* Forms */
.form-group {
    margin: 1.5rem 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

input, textarea, select {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    background-color: #fff;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #fa6432;
    box-shadow: 0 0 0 2px rgba(250, 100, 50, 0.1);
}

small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875em;
    font-family: monospace, monospace;
}

.unit-display {
    margin-left: 0.5rem;
    font-weight: bold;
    color: #fa6432;
    font-family: monospace, monospace;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-danger, .btn-success {
    display: inline-block;
    padding: 0.75em 1.5em;
    margin: 0.25em 0.5em 0.25em 0;
    border: 1px solid;
    background: transparent;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    vertical-align: top;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.btn-primary {
    border-color: #fa6432;
    color: #fa6432;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #fa6432;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    border-color: #666;
    color: #666;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #666;
    color: white;
    text-decoration: none;
}

.btn-danger {
    border-color: #d63384;
    color: #d63384;
}

.btn-danger:hover, .btn-danger:focus {
    background-color: #d63384;
    color: white;
    text-decoration: none;
}

.btn-success {
    border-color: #198754;
    color: #198754;
}

.btn-success:hover, .btn-success:focus {
    background-color: #198754;
    color: white;
    text-decoration: none;
}

.btn-disabled {
    display: inline-block;
    padding: 0.75em 1.5em;
    margin: 0.25em 0.5em 0.25em 0;
    border: 1px solid #ccc;
    background: transparent;
    color: #999;
    text-decoration: none;
    cursor: not-allowed;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    vertical-align: top;
    box-sizing: border-box;
    opacity: 0.6;
}

.goal-requirement {
    display: block;
    margin-top: 0.25rem;
    color: #999;
    font-size: 0.75rem;
    font-style: italic;
}

/* Power Goal Styles */
.power-goal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.5rem;
    box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
    vertical-align: middle;
    line-height: 1;
}

.power-goal-card {
    border-left: 4px solid #ffc107 !important;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 140, 0, 0.05));
}

.power-goal-status {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 2px dashed #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 140, 0, 0.05));
    border-radius: 6px;
}

.power-goal-status h3 {
    margin-top: 0;
    /*color: #ff8c00;*/
    color: #333;
    font-size: 1.3em;
}

.power-goal-status.no-power-goal {
    border-color: rgba(250, 100, 50, 0.3);
    background: rgba(200, 200, 200, 0.05);
}

.power-goal-status.no-power-goal h3 {
    /*color: #fa6432;*/
    color: #333;
}

.power-goal-note {
    color: #666;
    font-size: 0.9em;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

/* Leaderboard Styles */
.leaderboard-container {
    margin: 0;
    padding: 0;
}

.user-position {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 140, 0, 0.1));
    border-radius: 8px;
    text-align: center;
}

.user-position h3 {
    margin-top: 0;
    color: #333;
    /*color: #ff8c00;*/
}

.rank-display {
    font-size: 2em;
    font-weight: bold;
    color: #ffc107;
    margin: 0.5rem 0;
}

.user-goal {
    color: #666;
    font-style: italic;
    margin: 0.5rem 0 0 0;
}

.rankings {
    margin: 2rem 0;
}

.rankings h2 {
    /*color: #fa6432;*/
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
}

.rankings-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.rank-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px dashed rgba(250, 100, 50, 0.2);
    border-radius: 6px;
    align-items: center;
    transition: background-color 0.2s ease;
}

.rank-item:hover {
    background-color: rgba(200, 200, 200, 0.05);
}

.rank-item.current-user {
    border-color: #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 140, 0, 0.05));
    border-width: 2px;
}

.rank-position {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-number {
    font-size: 1.2em;
    font-weight: bold;
    color: #fa6432;
    font-family: monospace;
    min-width: 3rem;
}

.medal {
    font-size: 1.5em;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.username {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.goal-name {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.progress-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    min-width: 100px;
}

.progress-percentage {
    font-weight: bold;
    color: #fa6432;
    font-family: monospace;
    font-size: 1.1em;
}

.last-updated {
    color: #999;
    font-family: monospace;
    font-size: 0.8em;
    text-align: right;
}

.leaderboard-info {
    margin: 3rem 0;
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.02);
    border-radius: 6px;
}

.leaderboard-info h3 {
    margin-top: 0;
    color: #333;
    /*color: #fa6432;*/
}

.leaderboard-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.leaderboard-info li {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.empty-leaderboard {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-leaderboard h2 {
    /*color: #fa6432;*/
    color: #333;
    margin-bottom: 1rem;
}

.no-power-goal-cta, .guest-cta {
    margin: 3rem 0;
    padding: 2rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(250, 100, 50, 0.02);
    border-radius: 6px;
    text-align: center;
}

.no-power-goal-cta h3, .guest-cta h2 {
    /*color: #fa6432;*/
    color: #333;
    margin-top: 0;
}

.no-power-goal-cta ol {
    text-align: left;
    max-width: 400px;
    margin: 1rem auto;
}

.no-power-goal-cta li {
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* Responsive leaderboard */
@media (max-width: 768px) {
    .rank-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 1rem;
    }
    
    .rank-position {
        grid-column: 1;
        grid-row: 1;
    }
    
    .user-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .progress-info {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .last-updated {
        grid-column: 1 / -1;
        grid-row: 3;
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .user-position {
        padding: 1rem;
    }
    
    .rank-display {
        font-size: 1.5em;
    }
}

/* Dashboard */
.dashboard-actions {
    margin: 2rem 0;
}

.dashboard-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.section {
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.1);
}

.section h3 {
    margin-top: 0;
    /*color: #fa6432;*/
    color: #333;
    border-bottom: 1px solid rgba(250, 100, 50, 0.3);
    padding-bottom: 0.5rem;
}

/* Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.metric-card {
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.05);
    transition: background-color 0.2s ease;
}

.metric-card:hover {
    background-color: rgba(200, 200, 200, 0.15);
}

.metric-card h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.25em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.metric-unit {
    color: #666;
    font-family: monospace, monospace;
    font-size: 0.875em;
    margin: 0.5rem 0;
}

.latest-value {
    font-size: 1.1em;
    font-weight: bold;
    color: #fa6432;
    margin: 1rem 0;
    font-family: monospace, monospace;
}

.no-entries {
    color: #666;
    font-style: italic;
}

.metric-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(250, 100, 50, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.metric-actions .btn-primary,
.metric-actions .btn-secondary,
.metric-actions .btn-danger {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
    vertical-align: top;
}

/* Goal information */
.goal-info {
    padding: 1rem;
    margin: 1rem 0;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(250, 100, 50, 0.05);
}

.goal-target {
    margin: 0 0 0.5rem 0;
    color: #fa6432;
    font-weight: bold;
    font-family: monospace, monospace;
}

.mini-progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(200, 200, 200, 0.3);
    border: 1px solid rgba(250, 100, 50, 0.2);
    margin: 0.5rem 0;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fa6432, rgba(250, 100, 50, 0.7));
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: #666;
    margin: 0.25rem 0 0 0;
    font-family: monospace, monospace;
}

/* Recent entries */
.recent-entries {
    max-height: 400px;
    overflow-y: auto;
}

.entry-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(250, 100, 50, 0.2);
    background-color: rgba(200, 200, 200, 0.05);
}

.entry-notes {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Tables */
table {
    width: 100%;
    font-size: 0.9rem;
    text-align: left;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

table th, table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(250, 100, 50, 0.2);
}

table th {
    background-color: rgba(200, 200, 200, 0.1);
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid rgba(250, 100, 50, 0.3);
}

table tr:nth-child(even) {
    background-color: rgba(200, 200, 200, 0.05);
}

.change-positive {
    color: #198754;
    font-weight: bold;
    font-family: monospace, monospace;
}

.change-negative {
    color: #d63384;
    font-weight: bold;
    font-family: monospace, monospace;
}

.change-neutral {
    color: #666;
    font-family: monospace, monospace;
}

/* Goal-specific pages */
.goal-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

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

.current-status {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(250, 100, 50, 0.05);
}

.baseline-note {
    color: #666;
    font-style: italic;
    font-size: 0.9em;
    margin-top: 0.5rem;
}

.progress-bar-container {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: rgba(200, 200, 200, 0.3);
    border: 1px solid rgba(250, 100, 50, 0.2);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fa6432, rgba(250, 100, 50, 0.7));
    transition: width 0.5s ease;
}

.achievement-badge {
    background: linear-gradient(135deg, #198754, #20c997);
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
    border: 1px solid #198754;
}

.overdue {
    color: #d63384;
    font-weight: bold;
    font-family: monospace, monospace;
}

/* Goal suggestions */
.goal-tips, .goal-suggestions {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.05);
}

.goal-tips h3, .goal-suggestions h4 {
    margin-top: 0;
    color: #333;
    /*color: #fa6432;*/
}

.suggestion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

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

.suggestion-increase, .suggestion-decrease {
    padding: 1rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
}

.suggestion-increase {
    background-color: rgba(25, 135, 84, 0.05);
    border-color: rgba(25, 135, 84, 0.3);
}

.suggestion-decrease {
    background-color: rgba(255, 193, 7, 0.05);
    border-color: rgba(255, 193, 7, 0.3);
}

.suggestion-increase h5 {
    color: #198754;
    margin: 0 0 0.5rem 0;
}

.suggestion-decrease h5 {
    color: #ffc107;
    margin: 0 0 0.5rem 0;
}

/* Progress entries */
.entries-list {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
}

.progress-entry {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr;
    gap: 1rem;
    padding: 0.75rem;
    background-color: rgba(200, 200, 200, 0.05);
    border: 1px solid rgba(250, 100, 50, 0.2);
    align-items: center;
}

.entry-date {
    font-weight: bold;
    color: #666;
    font-family: monospace, monospace;
}

.entry-value {
    font-weight: bold;
    color: #333;
    font-family: monospace, monospace;
}

.entry-progress {
    font-size: 0.875rem;
    color: #fa6432;
    font-family: monospace, monospace;
}

/* Chart containers */
.progress-chart, .recent-progress {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.05);
}

.progress-chart {
    position: relative;
    height: 300px; /* Fixed height for better chart display */
}

.progress-chart canvas {
    max-width: 100%;
    height: auto !important;
}

.progress-chart h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #fa6432;
}

/* Form actions */
.form-actions, .goal-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(250, 100, 50, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.goal-actions .power-goal-badge {
    margin: 0.25em 0.5em 0.25em 0;
    align-self: center;
    padding: 0.75em 1.5em;
    font-size: inherit;
}

/* Statistics */
.entries-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.05);
}

.stat-item {
    font-family: monospace, monospace;
}

.stat-item strong {
    color: #fa6432;
}

/* No data states */
.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

/* Lists */
ol, ul {
    margin: 1em 0;
    padding-left: 2em;
}

ol li ol, ol li ul, ul li ol, ul li ul {
    margin: 0;
}

ol li p, ul li p {
    margin: 0;
}

/* Landing page styles */
.landing-container, .about-container {
    margin: 0;
    padding: 0;
}

.hero-section {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(250, 100, 50, 0.02);
}

.hero-section .title {
    font-size: 3em;
    margin: 0 0 0.5rem 0;
    color: #fa6432;
}

.hero-section .subtitle {
    font-size: 1.5em;
    color: #666;
    margin: 0 0 2rem 0;
    font-weight: normal;
}

.hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #333;
}

.cta-buttons {
    margin: 2rem 0;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1em;
}

.registration-note {
    margin-top: 1rem;
    color: #666;
}

/* Features section */
.features-section, .how-it-works, .get-started-section {
    margin: 3rem 0;
    padding: 2rem 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.02);
}

.features-section h2, .how-it-works h2, .get-started-section h2 {
    text-align: center;
    /*color: #fa6432;*/
    color: #333;
    margin-bottom: 2rem;
}

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

.feature-card {
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.2);
    background-color: rgba(200, 200, 200, 0.05);
    transition: background-color 0.2s ease;
}

.feature-card:hover {
    background-color: rgba(200, 200, 200, 0.1);
}

.feature-card h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.2em;
}

.feature-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* How it works section */
.steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.2);
    background-color: rgba(200, 200, 200, 0.05);
}

.step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #fa6432;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: monospace;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.step-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.get-started-section {
    text-align: center;
}

/* About page styles */
.about-content {
    margin: 2rem 0;
}

.about-section {
    margin: 3rem 0;
    padding: 2rem 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.3);
    background-color: rgba(200, 200, 200, 0.02);
}

.about-section h2 {
    /*color: #fa6432;*/
    color: #333;
    margin-top: 0;
    border-bottom: 1px solid rgba(250, 100, 50, 0.3);
    padding-bottom: 0.5rem;
}

.about-section p {
    line-height: 1.6;
    margin: 1rem 0;
}

.about-section ul, .about-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.about-section li {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.feature-list {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem;
    border: 1px dashed rgba(250, 100, 50, 0.2);
    background-color: rgba(200, 200, 200, 0.05);
}

.feature-item h3 {
    margin: 0 0 1rem 0;
    color: #333;
}

.feature-item p {
    margin: 0;
    color: #666;
}

.cta-section {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section .title {
        font-size: 2.5em;
    }
    
    .hero-section .subtitle {
        font-size: 1.3em;
    }
    
    .features-section, .how-it-works, .get-started-section, .about-section {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
}   
/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        padding: 1rem;
        font-size: 100%;
    }
    
    .nav-container {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-sections {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .goal-overview {
        grid-template-columns: 1fr;
    }
    
    .progress-entry {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }
    
    .metric-actions {
        flex-direction: column;
    }
    
    .entries-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-chart {
        height: 250px; /* Smaller height on mobile */
        padding: 1rem;
    }
    
    /* Landing and about page mobile styles */
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section .title {
        font-size: 2.5em;
    }
    
    .hero-section .subtitle {
        font-size: 1.3em;
    }
    
    .features-section, .how-it-works, .get-started-section, .about-section {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }
}