@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('animations.css');
@import url('responsive.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f9f9f9;
    min-height: 100vh;
    overflow-x: hidden;
}

body.materi-page {
    background: #ecf6fe;
}

.info-box-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    max-width: 1420px;
    margin: 200px auto 0px;
    padding: 30px;
}
.left-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}
.current-time-box {
    background: linear-gradient(135deg, #26445d, #4a6fa5);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(38, 68, 93, 0.3);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

.time-display #current-time {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.time-display #current-date {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 500;
}
.stats-summary-box {
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.stats-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
.stats-header h3 {
    color: #26445d;
    font-size: 1.2em;
    font-weight: 700;
    margin: 0;
}
.stats-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stat-item-small {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    background: rgba(38, 68, 93, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.stat-item-small:hover {
    background: rgba(38, 68, 93, 0.1);
    transform: translateX(3px);
}
.stat-icon {
    font-size: 1.5em;
}
.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.stat-number {
    font-size: 1.4em;
    font-weight: 700;
    color: #26445d;
    line-height: 1;
}
.stat-label {
    font-size: 0.85em;
    color: #666;
    font-weight: 500;
}
.personal-info-box {
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #26445d;
}

.info-header h3 {
    color: #26445d;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
}

.info-content {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(38, 68, 93, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(38, 68, 93, 0.1);
    transform: translateX(5px);
}

.info-label {
    font-weight: 600;
    color: #26445d;
    font-size: 0.95em;
}

.info-value {
    color: #333;
    font-weight: 500;
    text-align: right;
}

.jadwal-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px 20px 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 100px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header.hidden {
    transform: translateY(-100%);
}

.logo {
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 40px;
}

.navbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.navbar a {
    text-decoration: none;
    color: #26445d;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar a:hover,
.navbar a.active {
    background: #26445d;
    color: #f9f9f9;
}

.profile-container {
    position: relative;
    margin-left: 10px;
    flex-shrink: 0;
}

.profile-icon {
    font-size: 1.8em;
    color: #26445d;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon:hover {
    color: #1a2f3d;
    background: rgba(38, 68, 93, 0.1);
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(38, 68, 93, 0.1);
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-header {
    padding: 20px;
    border-bottom: 1px solid rgba(38, 68, 93, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar {
    font-size: 3em;
    color: #26445d;
}

.profile-info h4 {
    margin: 0;
    color: #26445d;
    font-size: 1.1em;
    font-weight: 600;
}

.profile-info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 0.9em;
}

.profile-menu {
    padding: 10px 0;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.profile-item:hover {
    background: rgba(38, 68, 93, 0.05);
    color: #26445d;
}

.profile-item i {
    width: 18px;
    font-size: 1.1em;
    color: #26445d;
}

.profile-item span {
    font-weight: 500;
}

.parallax_landingPage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.parallax_landingPage img, 
.bg_materi img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    border-color: 7px;
}

.elLatman {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}


.elLatman #leaf, .addEl {
    position: fixed;
    pointer-events: none;
    bottom: 0;    
    left: 0;
    width: 100%;
    opacity: 1;
    transform: translateY(0px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 10;
}


.cloud img {
    position: absolute;
    width: 20%;
    pointer-events: none;
    border-color: 7px;
    z-index: 20;
}

#cloud_left {
    left: 0;
    top: 50vh;
}

#cloud_right {
    right: 0;
    top: 70vh;
}

#cloud_left2 {
    left: -120px;
    top: 100vh;
}

#cloud {
    position: fixed;
    pointer-events: none;
    bottom: 0;    
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 10;
}

#textCore {
    position: absolute;
    top: 15%;
    font-size: 5em;
    color: #333;
    text-shadow: 2px 2px 4px rgba(130, 130, 130, 0.5);
}

#subtitle {
    position: absolute;
    top: 28%;
    font-size: 1.5em;
    color: #555;
    text-shadow: 1px 1px 2px rgba(130, 130, 130, 0.3);
    font-weight: 400;
    font-style: italic;
    text-align: center;
    width: 100%;
    margin: 0;
}

.deskripsi {
    position: relative;
    background-color: #837d77;
    padding: 100px;
}

.deskripsi h2 {
    font-size: 3em;
    color: #f9f9f9;
    margin-bottom: 10px;
}

.deskripsi p {
    font-size: 1em;
    color: #f9f9f9;
    font-weight: 300;
}

.bg_materi {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-grid {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1800px;
    padding: 40px 20px;
    z-index: 15;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; 
    margin: 0 auto;
    padding: 40px 30px; 
}

.card-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(38, 68, 93, 0.3);
    min-height: 320px;
    aspect-ratio: 1.1/1;
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease forwards;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-item:nth-child(1) .card-icon {animation: iconFloat 4s ease-in-out infinite; animation-delay: 0.5s;}
.card-item:nth-child(2) .card-icon {animation: iconPulse 3.5s ease-in-out infinite; animation-delay: 0.8s;}
.card-item:nth-child(3) .card-icon {animation: iconBounce 3s ease-in-out infinite; animation-delay: 1.1s;}
.card-item:nth-child(4) .card-icon {animation: iconSway 4s ease-in-out infinite; animation-delay: 1.4s;}
.card-item:nth-child(5) .card-icon {animation: iconWobble 3.2s ease-in-out infinite; animation-delay: 1.7s;}
.card-item:nth-child(6) .card-icon {animation: iconGlow 3.8s ease-in-out infinite;animation-delay: 2s;}

.card-icon {
    font-size: 3.2em;
    margin-bottom: 22px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
}

.card-item[data-theme="primary"] .card-icon { color: #26445d; }
.card-item[data-theme="success"] .card-icon { color: #28a745; }
.card-item[data-theme="warning"] .card-icon { color: #ffc107; }
.card-item[data-theme="info"] .card-icon { color: #17a2b8; }
.card-item[data-theme="danger"] .card-icon { color: #dc3545; }
.card-item[data-theme="dark"] .card-icon { color: #343a40; }

.card-item h3 {
    font-size: 1.6em;
    margin-bottom: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.card-item[data-theme="primary"] h3 { color: #26445d; }
.card-item[data-theme="success"] h3 { color: #28a745; }
.card-item[data-theme="warning"] h3 { color: #ffc107; }
.card-item[data-theme="info"] h3 { color: #17a2b8; }
.card-item[data-theme="danger"] h3 { color: #dc3545; }
.card-item[data-theme="dark"] h3 { color: #343a40; }

.card-item p {
    color: #666;
    font-size: 1em;
    line-height: 1.5;
    margin: 0 0 25px 0;
    transition: color 0.3s ease;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    flex-grow: 1;
}

.card-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: linear-gradient(to top, rgba(38, 68, 93, 0.95), rgba(38, 68, 93, 0.85));
    transition: bottom 0.3s ease;
}

.card-item[data-theme="primary"] .card-overlay { background: linear-gradient(to top, rgba(38, 68, 93, 0.95), rgba(38, 68, 93, 0.85)); }
.card-item[data-theme="success"] .card-overlay { background: linear-gradient(to top, rgba(40, 167, 69, 0.95), rgba(40, 167, 69, 0.85)); }
.card-item[data-theme="warning"] .card-overlay { background: linear-gradient(to top, rgba(255, 193, 7, 0.95), rgba(255, 193, 7, 0.85)); }
.card-item[data-theme="info"] .card-overlay { background: linear-gradient(to top, rgba(23, 162, 184, 0.95), rgba(23, 162, 184, 0.85)); }
.card-item[data-theme="danger"] .card-overlay { background: linear-gradient(to top, rgba(220, 53, 69, 0.95), rgba(220, 53, 69, 0.85)); }
.card-item[data-theme="dark"] .card-overlay { background: linear-gradient(to top, rgba(52, 58, 64, 0.95), rgba(52, 58, 64, 0.85)); }

.card-btn {
    background: white;
    color: #26445d;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    min-width: 160px;
}

.card-item[data-theme="primary"] .card-btn { color: #26445d; }
.card-item[data-theme="success"] .card-btn { color: #28a745; }
.card-item[data-theme="warning"] .card-btn { color: #ffc107; }
.card-item[data-theme="info"] .card-btn { color: #17a2b8; }
.card-item[data-theme="danger"] .card-btn { color: #dc3545; }
.card-item[data-theme="dark"] .card-btn { color: #343a40; }

.materi-container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px;
}

#timeline {
    position: relative;
    margin: 50px 0;
}

#timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #26445d, #4a6fa5);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 40px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    transform: translateX(50px);
}

.timeline-item:nth-child(even).animate {
    transform: translateX(0);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: #26445d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f9f9f9;
    box-shadow: 0 4px 15px rgba(38, 68, 93, 0.3);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    z-index: 10;
    transition: all 0.4s ease 0.2s;
}

.timeline-item.animate .timeline-icon {
    transform: translateX(-50%) scale(1);
}

.timeline-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.timeline-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 45%;
    position: relative;
    border: 2px solid #26445d;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.timeline-item.animate .timeline-content {
    transform: scale(1);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    right: -32px;
    border-left-color: #26445d;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -32px;
    right: auto;
    border-right-color: #26445d;
    border-left-color: transparent;
}

.timeline-content h2 {
    color: #26445d;
    font-size: 1.5em;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 8px;
}

.timeline-content p strong {
    color: #26445d;
    font-weight: 600;
}

.timeline-content .btn {
    background: #26445d;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.timeline-content .btn:hover {
    background: #1a2e3d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(38, 68, 93, 0.4);
}

.timeline-time {
    background: #26445d;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.filter-container {
    text-align: center;
    margin-bottom: 40px;
}

.filter-buttons {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #26445d;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: #26445d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin: 0 5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #26445d;
    color: white;
    transform: scale(1.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    border: 3px solid #26445d;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #26445d;
}

.modal-time {
    background: #26445d;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

#modal-description p {
    margin-bottom: 8px;
    font-size: 1em;
    line-height: 1.6;
}

#modal-description p strong {
    color: #26445d;
    font-weight: 600;
}

.category-section {
    margin-bottom: 60px;
    padding: 30px;
}

.category-timeline {
    position: relative;
}

.category-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    border-radius: 2px;
    opacity: 0.5;
}

body.latman-page {
    min-height: 100vh;
}

.latman-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px 40px;
}

.latman-header,
.grid-header {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.latman-header h1, .grid-header h1 {
    color: #26445d;
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.latman-header p, .grid-header p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.header-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.add-workout-btn,
.add-fitness-test-btn {
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.add-workout-btn {
    background: linear-gradient(135deg, #26445d, #4a6fa5);
    box-shadow: 0 5px 20px rgba(38, 68, 93, 0.3);
}

.add-fitness-test-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.add-workout-btn:hover,
.add-fitness-test-btn:hover {
    transform: translateY(-3px);
}

.add-workout-btn:hover {
    box-shadow: 0 8px 30px rgba(38, 68, 93, 0.4);
}

.add-fitness-test-btn:hover {
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.4);
}

.latman-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
    grid-template-areas:
        "calendar progress"
        "calendar info";
}

.calendar-section {
    grid-area: calendar;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.nav-btn {
    background: #26445d;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.nav-btn:hover {
    background: #1a3347;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(38, 68, 93, 0.3);
}

.current-date h2 {
    color: #26445d;
    font-size: 1.8em;
    margin: 0;
    font-weight: 600;
}

.calendar-grid {
    max-width: 100%;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 15px;
}

.weekday {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #26445d;
    background: rgba(38, 68, 93, 0.1);
    border-radius: 10px;
    font-size: 0.9em;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    background: #fff;
    border: 2px solid transparent;
    font-size: 1em;
}

.day:hover {
    background: rgba(38, 68, 93, 0.1);
    transform: scale(1.05);
}

.day.today {
    background: #26445d;
    color: white;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(38, 68, 93, 0.3);
}

.day.selected {
    background: #4a6fa5;
    color: white;
    border-color: #26445d;
}

.day.has-workout::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 14px;
    background-image: url('../images/latman/run.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
    z-index: 2;
}


.day.other-month {
    color: #ccc;
    background: #f8f8f8;
}

.progress-section {
    grid-area: progress;
    padding: 25px;
}

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

.progress-header h3 {
    color: #26445d;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.progress-period {
    display: flex;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 3px;
}

.period-btn {
    background: transparent;
    border: none;
    padding: 8px 15px;
    border-radius: 18px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.period-btn.active {
    background: #26445d;
    color: white;
}

.progress-chart {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

.progress-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(38, 68, 93, 0.05);
    border-radius: 12px;
    border-left: 4px solid #26445d;
}

.stat-card i {
    font-size: 1.5em;
    color: #26445d;
    width: 25px;
    text-align: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.4em;
    font-weight: 700;
    color: #26445d;
    line-height: 1;
}

.stat-label {
    font-size: 0.85em;
    color: #666;
    margin-top: 3px;
}

.info-section {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.today-summary,
.streak-info,
.calendar-section,
.progress-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-section,
.progress-section {
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.today-summary h3,
.streak-info h3 {
    color: #26445d;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
}

.today-date {
    font-size: 1.2em;
    font-weight: 700;
    color: #4a6fa5;
    margin-bottom: 15px;
}

.today-workout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(38, 68, 93, 0.05);
    border-radius: 8px;
}

.workout-time {
    font-weight: 600;
    color: #26445d;
    font-size: 0.9em;
}

.workout-name {
    color: #666;
    font-size: 0.9em;
}

.streak-count {
    font-size: 2.5em;
    font-weight: 700;
    color: #26445d;
    text-align: center;
    line-height: 1;
}

.streak-desc {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 8px;
}

.workout-modal,
.fitness-test-modal {
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow: visible;
}

.modal-header {
    background: linear-gradient(135deg, #26445d, #4a6fa5);
    color: white;
    padding: 20px 25px;
    margin: -30px -30px 25px -30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3em;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 0 5px;
    max-height: calc(85vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    color: #26445d;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #26445d;
    box-shadow: 0 0 10px rgba(38, 68, 93, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    grid-column: 1 / -1;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #26445d;
    background: #f0f4f8;
}

.form-help {
    color: #666;
    font-size: 0.8em;
    margin-top: 5px;
    display: block;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f9fa;
}

.form-section h4 {
    color: #26445d;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h4 i {
    color: #4a6fa5;
}

.test-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9em;
}

.test-info i {
    color: #2196f3;
    margin-right: 5px;
}

input[readonly] {
    background: #f0f0f0 !important;
    cursor: not-allowed;
    color: #666 !important;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-cancel {
    background: #f8f8f8;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.btn-save {
    background: linear-gradient(135deg, #26445d, #4a6fa5);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(38, 68, 93, 0.3);
}

/* =============== JADWAL PAGE STYLES =============== */
.jadwal-page {
    background-image: url('../images/jadwal/bg.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 1480px;
    position: relative;
}

body.jadwal-page {
    min-height: 1460px;
}

.jadwal-container {
    position: relative;
    z-index: 1;
}

.info-box-container {
    position: relative;
    z-index: 1;
}

.jadwal-page .info-box-container,
.jadwal-page .info-box-container * {
    color: white !important;
}

.jadwal-page .current-time-box {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

.jadwal-page .stats-summary-box {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
}

.jadwal-page .personal-info-box {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2) !important;
}

.jadwal-page .info-box-container {
    margin-top: 120px !important;
}

.jadwal-page .current-time-box {
    background: transparent !important;
    backdrop-filter: none !important;
}

.jadwal-page .stats-summary-box {
    background: transparent !important;
    backdrop-filter: none !important;
}

.jadwal-page .personal-info-box {
    background: transparent !important;
    backdrop-filter: none !important;
}

.jadwal-page .left-boxes {
    background: transparent !important;
}

.jadwal-page .info-header {
    border-bottom: 2px solid white !important;
}

.jadwal-page .info-item {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.jadwal-page .current-time-box,
.jadwal-page .stats-summary-box,
.jadwal-page .personal-info-box {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}


.jadwal-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 1920px) {
    .jadwal-page {
        background-size: 100% auto;
    }
}

@media (max-width: 1024px) {
    .jadwal-page {
        background-size: 100% auto;
        min-height: 2200px;
    }
    
    body.jadwal-page {
        min-height: 2200px;
    }
}

@media (max-width: 768px) {
    .jadwal-page {
        background-size: 100% auto;
        min-height: 3000px;
    }
    
    body.jadwal-page {
        min-height: 3000px;
    }
}

.jadwal-page header.scrolled {
    background: rgba(28, 40, 51, 0.95) !important;
    box-shadow: 0 4px 20px rgba(28, 40, 51, 0.4) !important;
}

.jadwal-page .logo img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.jadwal-page .navbar a {
    color: #e8f4f8 !important;
    background: transparent !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.jadwal-page .navbar a:hover {
    background: #26445d !important;
    border-color: 26445d !important;
    transform: translateY(-2px) !important;
}

.jadwal-page .navbar a.active {
    background: #26445d !important;
    font-weight: 700 !important;
}

.jadwal-page .profile-icon {
    color: white !important;
}

.jadwal-page .profile-icon:hover {
    color: #e8f4f8 !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 768px) {
    header {
        padding: 20px 20px;
    }
    
    header.scrolled {
        padding: 15px 20px;
    }
    
    .navbar a {
        padding: 6px 8px;
        margin: 0 3px;
        font-size: 0.9em;
    }
    
    .profile-icon {
        font-size: 1.6em;
    }
    
    .profile-dropdown {
        right: -10px;
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .navbar a {
        padding: 5px 6px;
        margin: 0 2px;
        font-size: 0.85em;
    }
    
    .profile-icon {
        font-size: 1.5em;
    }
    
    .profile-dropdown {
        right: -20px;
        min-width: 220px;
    }
}

/* =============== LATMAN PAGE STYLES =============== */
.latman-page {
    background-image: url('../images/materi/bg4.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 1480px;
    position: relative;
}

body.latman-page {
    min-height: 1460px;
}

.latman-container {
    position: relative;
    z-index: 1;
}

.latman-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.latman-page .modal-overlay {
    background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 1920px) {
    .latman-page {
        background-size: 100% auto;
    }
}

@media (max-width: 1024px) {
    .latman-page {
        background-size: 100% auto;
        min-height: 2200px;
    }
    
    body.latman-page {
        min-height: 2200px;
    }
}

@media (max-width: 768px) {
    .latman-page {
        background-size: 100% auto;
        min-height: 3000px;
    }
    
    body.latman-page {
        min-height: 3000px;
    }
}

