.info-box-push,
.info-box-pull,
.info-box-running,
.info-box-pages {
    display: none;
}

body {
    background-color: #f7f9fa;
    color: #21242c;
    font-family: Arial, Helvetica, sans-serif;
}

.head {
    background-color: transparent;
    text-align: center;
    margin: 40px auto 25px;
}

h1 {
    color: #1865f2;
    font-size: 32px;
}

.about,
.progress {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e3e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.progress p {
    margin: 15px 0;
}

.progress input {
    width: 220px;
    box-sizing: border-box;
}

.motivation {
    font-family: Arial, Helvetica, sans-serif;
}

input {
    padding: 10px;
    border: 1px solid #c9cdd1;
    border-radius: 4px;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #1865f2;
}

.save-button {
    background-color: #1865f2;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

.save-button:hover {
    background-color: #1558d6;
}

.cards {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.motivation {
    max-width: 900px;
    margin: 0 auto 20px;
}

.nav-link {
    display: inline-block;
    color: #1865f2;
    text-decoration: none;
    font-size: 16px;
    margin: 5px 0;
}

.nav-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cards {
        flex-direction: column;
    }
    
    .progress-cards {
    grid-template-columns: 1fr;
    }

    .stats-row {
    grid-template-columns: 1fr;
    }

    .profile-info {
    grid-template-columns: 1fr;
    }

    .profile-navigation {
    flex-direction: column;
    }
}   


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1100px;
    margin: 20px auto 30px;
    padding: 15px 20px;

    background-color: white;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

    box-sizing: border-box;
}


.logo {
    font-size: 20px;
    font-weight: bold;
    color: #1865f2;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.progress-section {
    flex: 1;
}

.cards {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.progress-section h3 {
    margin-top: 0;
}

.progress {
    min-height: 250px;
    box-sizing: border-box;
}

.about p {
    line-height: 1.5;
    margin-bottom: 0;
}

.about h2 {
    margin-top: 0;
}

.progress .save-button {
    margin-top: 10px;
}

.progress .save-button {
    margin-top: 10px;
}

.progress {
    display: flex;
    flex-direction: column;
}

.leaderboard-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e3e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.leaderboard-container > p {
    font-size: 16px;
    margin: 15px 0;
}

.rank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    margin: 8px 0;
    background-color: #f7f9fa;
    border: 1px solid #e0e3e6;
    border-radius: 6px;
}

.leaderboard-container > p:first-of-type {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 25px;
}

.rank-row:first-of-type {
    border-left: 4px solid #f5c542;
}

.rank-row:nth-of-type(2) {
    border-left: 4px solid #b8b8b8;
}

.rank-row:nth-of-type(3) {
    border-left: 4px solid #cd7f32;
}

.category-title {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 22px;
    color: #21242c;
}

.category-push,
.category-pull,
.category-running,
.category-pages {
    width: 100%;
    padding: 12px 16px;
    margin-top: 8px;
    margin-bottom: 8px;

    background-color: white;
    color: #1865f2;

    border: 1px solid #d9dee3;
    border-radius: 6px;

    font-size: 16px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;

    transition: 0.2s;
}

.category-push:hover,
.category-pull:hover,
.category-running:hover,
.category-pages:hover {
    background-color: #f0f5ff;
    border-color: #1865f2;
}

.points {
    font-weight: bold;
    color: #1865f2;
}

.motivation-message {
    text-align: center;
    margin-top: 30px;
    padding: 18px;
    background-color: #f7f9fa;
    border-radius: 8px;
    border: 1px solid #e0e3e6;
}

.motivation-message p {
    margin: 5px 0;
}

.motivation-message p:first-child {
    font-weight: bold;
    font-size: 17px;
}

.motivation-message p:last-child {
    color: #1865f2;
    font-size: 14px;
    font-style: italic;
}

.profile-card,
.profile-progress,
.profile-stats {
    max-width: 700px;
    margin: 0 auto 20px;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e3e6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.profile-card p,
.profile-progress p,
.profile-stats p {
    font-size: 16px;
    margin: 12px 0;
}

.progress-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.progress-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px;
    background-color: #f7f9fa;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
}

.progress-card span {
    font-size: 15px;
}

.progress-card strong {
    font-size: 20px;
    color: #1865f2;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f7f9fa;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
}

.stat span {
    font-size: 15px;
    margin-bottom: 8px;
}

.stat strong {
    font-size: 24px;
    color: #1865f2;
}

.profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.profile-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: #f7f9fa;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
}

.profile-item span {
    font-size: 14px;
    margin-bottom: 6px;
}

.profile-item strong {
    font-size: 18px;
    color: #1865f2;
}

.profile-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.profile-navigation a {
    flex: 1;
    padding: 12px 16px;
    text-align: center;

    background-color: white;
    color: #1865f2;

    text-decoration: none;
    border: 1px solid #e0e3e6;
    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;

    transition: 0.2s;
}

.profile-navigation a:hover {
    background-color: #f0f5ff;
    border-color: #1865f2;
}

.login-card {
    max-width: 480px;
    margin: 80px auto;
    padding: 40px;
    background-color: white;
    border: 1px solid #e0e3e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.login-card h1 {
    text-align: center;
    margin: 0 0 10px;
}

.login-subtitle {
    text-align: center;
    color: #6b7078;
    margin-bottom: 30px;
}

.login-card form {
    display: flex;
    flex-direction: column;
}

.login-card label {
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #c9cdd1;
    border-radius: 6px;
}

.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
    outline: none;
    border-color: #1865f2;
}

.login-button {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    background-color: #1865f2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.login-button:hover {
    background-color: #1558d6;
}

.register-text {
    text-align: center;
    margin-top: 25px;
    color: #6b7078;
}

.register-text a {
    color: #1865f2;
    font-weight: 600;
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}

.welcome-section {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 25px;
    text-align: center;
    background-color: white;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.welcome-section h1 {
    margin: 0 0 12px;
}

.welcome-section p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}

.logout-button {
    background: #e74c3c;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font: inherit;
    cursor: pointer;
    color: white;
    transition: 0.2s;
}

.logout-button:hover {
    background: #c0392b;
}

.info-box-push,
.info-box-pull,
.info-box-running,
.info-box-pages {
    display: none;
    width: 90%;
    max-width: 500px;
    margin: 10px auto 18px;
    padding: 16px 20px;
    box-sizing: border-box;

    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.info-box-push p,
.info-box-pull p,
.info-box-running p,
.info-box-pages p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}
