* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
}

.header {
    width: 100%;
}

.header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    background: white;
    position: fixed;
    top: 20px;
    left: 3%;
    width: 95%;
    height: 70px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.menu ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.menu ul .logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.menu .logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.menu .logo h1 {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #087caa;
    white-space: nowrap;
}

.menu ul li a {
    text-decoration: none;
    color: #666b79;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #087caa;
}

.menu ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #155E63;
    transition: width 0.4s ease;
}

.menu ul li a:hover::after {
    width: 100%;
}

.container {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.sidebar {
    width: 25%;
    background: #F7FDF9;
    padding: 30px;
    flex-shrink: 0;
}

.sidebar h2 {
    color: #176B5B;
    margin-bottom: 20px;
}

.sidebar p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.sidebar ul {
    padding-left: 20px;
}

.sidebar li {
    margin-bottom: 15px;
}

.box {
    padding: 10px;
    margin: 20px 10px 10px;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.content {
    width: 75%;
    background: #f4fbf7;
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 0;
}

.content h1 {
    color: #176B5B;
    font-size: 45px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.content h2 {
    color: #239B7E;
    margin-bottom: 20px;
}

.content p {
    font-size: 16px;
    color: black;
}

.box-home {
    background: white;
    width: 100%;
    margin-top: 20px;
    padding: 25px;
    border-left: 6px solid #10B981;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.layanan {
    text-align: center;
    margin-top: 50px;
}

.layanan h1 {
    color: #176B5B;
    font-size: 45px;
    margin-bottom: 20px;
}

.content-layanan {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.box-layanan {
    background: white;
    padding: 20px;
    border-left: 6px solid #10B981;
    box-shadow: 0 4px 15px rgba(2, 46, 74, 0.08);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.box-layanan:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(2, 46, 74, 0.15);
}

.box-layanan img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.box-layanan:hover img {
    transform: scale(1.03);
}

.box-layanan h2 {
    color: #176B5B;
    margin-bottom: 15px;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.box-layanan h2:hover {
    color: #80B9B3;
    letter-spacing: 1px;
}

.box-layanan p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.dokter-section {
    background-color: #f4fbf7;
    padding: 45px 5%;
}

.dokter-container {
    max-width: 1400px;
    margin: auto;
}

.dokter-heading {
    margin-top: 50px;
    margin-bottom: 35px;
    text-align: center;
}

.dokter-heading h1 {
    color: #176B5B;
    font-size: 45px;
    margin-bottom: 20px;
}

.dokter-heading p {
    font-size: 18px;
    color: black;
    line-height: 1.6;
}

.dokter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.dokter-card {
    background-color: white;
    border-left: 9px solid #10b981;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.dokter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.dokter-info {
    margin-bottom: 20px;
}

.dokter-info h3 {
    color: #147664;
    font-size: 23px;
    font-family: Georgia, serif;
    margin-bottom: 12px;
    line-height: 1.5;
}

.dokter-info p {
    display: inline-block;
    background-color: #e1f3eb;
    color: #16836e;
    padding: 9px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
}

.btn-jadwal {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #147664;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-jadwal:hover {
    background: #064e3b;
}

.jadwal-dropdown {
    padding: 15px 20px;
    margin-top: 12px;
    background: #e3f5ee;
    border-radius: 12px;
    border-left: 5px solid #10b981;
}

.jadwal-dropdown[hidden] {
    display: none;
}

.jadwal-dropdown h4 {
    color: #147664;
    font-size: 16px;
    margin-bottom: 8px;
}

.jadwal-dropdown p {
    color: #455b54;
    font-size: 14px;
    line-height: 1.7;
}

.dokter-aksi {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.dokter-aksi a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.btn-edit {
    background: #e1f3eb;
    color: #147664;
}

.btn-hapus {
    background: #ffe5e5;
    color: #d64545;
}

.btn-edit:hover {
    background: #c5eadb;
}

.btn-hapus:hover {
    background: #ffd0d0;
}

.btn-tambah {
    display: inline-block;
    background: #147664;
    color: white;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-tambah:hover {
    background: #064e3b;
}

.btn-reservasi {
    display: block;
    width: 100%;
    background: #087f5b;
    color: white;
    padding: 15px 20px;
    border-radius: 28px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s ease;
}

.btn-reservasi:hover {
    background: #065f46;
    transform: translateY(-2px);
}

.tentang {
    width: 100%;
    padding: 1px 8% 30px;
    background: #f4fbf7;
}

.tentang-judul {
    margin-top: 50px;
    margin-bottom: 35px;
    text-align: center;
}

.tentang-judul h1 {
    color: #176B5B;
    font-size: 45px;
    margin-bottom: 20px;
}

.tentang-judul p {
    font-size: 16px;
    color: black;
}

.about-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 8%;
    background: #f4fbf7;
}

.tentang-image {
    width: 100%;
    text-align: center;
}

.tentang-image img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tentang-image img:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 10px 25px rgba(2, 46, 74, 0.2);
}

.about-profile_content {
    width: 100%;
    text-align: left;
}

.about-profile_content h2 {
    color: #087f5b;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-profile_content p {
    font-size: 18px;
    color: black;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-visi {
    padding: 50px 8%;
}

.judul-visiMisi {
    text-align: center;
    margin-bottom: 30px;
}

.about-section-heading h2 {
    color: #176B5B;
    font-size: 35px;
    margin: 10px 0;
}

.about-section-heading p {
    color: #555;
    font-size: 15px;
}

.about-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 6px solid #10b981;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.about-info-card:hover {
    transform: translateY(-5px);
}

.about-info-card--vision {
    border-left-color: #087f5b;
}

.about-card-icon {
    font-size: 30px;
    color: #10b981;
    margin-bottom: 15px;
}

.about-info-card h3 {
    color: #087f5b;
    font-size: 23px;
    margin-bottom: 15px;
}

.about-info-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.about-info-card ul {
    padding-left: 20px;
}

.about-info-card li {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.login-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #d9f3e7, #a8dfc5);
    font-family: Arial, sans-serif;
}

.login-container {
    width: 100%;
    max-width: 650px;
    padding: 50px;
    background: #fffefa;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(8, 127, 91, 0.15);
}

.login-container h2 {
    text-align: center;
    color: #176B5B;
    font-size: 38px;
    margin-bottom: 5px;
}

.login-container > p {
    text-align: center;
    color: #777;
    font-size: 18px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #176B5B;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    padding: 18px;
    border: 1px solid #b8dccc;
    border-radius: 13px;
    font-size: 18px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #087f5b;
    box-shadow: 0 0 5px rgba(8, 127, 91, 0.2);
}

.btn-login {
    width: 100%;
    padding: 17px;
    background: #087f5b;
    color: white;
    border: none;
    border-radius: 13px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #065f46;
}

.pesan-gagal {
    color: #d32f2f;
    background: #ffebee;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.pesan-logout {
    color: #087f5b;
    background: #eaf7f1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.halaman-admin {
    background: #f4fbf7;
    font-family: Arial, sans-serif;
}

.admin-header {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, #087f5b, #176B5B);
    color: white;
    padding: 30px 40px;
}

.admin-header h1 {
    font-size: 30px;
}

.admin-header p {
    margin-top: 5px;
}

.admin-menu {
    width: 100%;
    background: #087f5b;
    display: flex;
    justify-content: center;
    padding: 12px;
    gap: 25px;
}

.admin-menu a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.admin-menu a:hover {
    color: #b7f7d8;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 25%;
    background: #eaf7f1;
    padding: 25px 15px;
    flex-shrink: 0;
}

.admin-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.admin-box h3 {
    color: #087f5b;
    margin-bottom: 10px;
}

.admin-content {
    width: 75%;
    padding: 30px;
    overflow-x: auto;
}

.admin-content h2 {
    color: #176B5B;
    font-size: 32px;
    margin-bottom: 10px;
}

.admin-tambah {
    display: inline-block;
    color: #087f5b;
    margin-bottom: 20px;
    font-size: 17px;
}

.admin-search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.admin-search input {
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.admin-search button {
    padding: 10px 15px;
    background: #087f5b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.tabel-admin {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: white;
}

.tabel-admin th,
.tabel-admin td {
    border: 1px solid #aaa;
    padding: 13px;
    text-align: center;
}

.tabel-admin th {
    background: #eaf7f1;
    color: #176B5B;
}

.tabel-admin tr:hover {
    background: #f0faf5;
}

.tabel-admin img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 7px;
}

.tabel-admin a {
    color: #087f5b;
}

.btn-tambah-dokter {
    display: inline-block;
    padding: 12px 20px;
    background: #087f5b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 25px;
}

.aksi-dokter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.aksi-dokter a {
    color: #087f5b;
    text-decoration: none;
    font-weight: bold;
}

.aksi-dokter a:hover {
    color: #10B981;
}

.form-dokter {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 15px;
    border-left: 7px solid #10b981;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-dokter h1,
.form-dokter h2 {
    text-align: center;
    color: #176B5B;
    margin-bottom: 30px;
}

.form-dokter label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.form-dokter table {
    width: 100%;
}

.form-dokter td {
    padding: 12px 8px;
    color: #374151;
    font-weight: bold;
}

.form-dokter input[type="text"],
.form-dokter input[type="file"],
.form-dokter textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #b8dccc;
    border-radius: 8px;
    font-size: 14px;
}

.form-dokter textarea {
    min-height: 110px;
    resize: vertical;
}

.form-dokter input[type="submit"],
.form-dokter button {
    background: #087f5b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.form-dokter input[type="submit"]:hover,
.form-dokter button:hover {
    background: #065f46;
}

.form-dokter a {
    display: inline-block;
    margin-left: 10px;
    padding: 12px 20px;
    background: #e5e7eb;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
}

.content .form-dokter {
    display: block;
    margin: 40px auto;
    text-align: left;
}

.content .form-dokter h1 {
    margin: 0 0 30px;
    font-size: 32px;
}

.reservasi-home {
    text-align: center;
    margin: 30px 0;
}

.reservasi-home a {
    display: inline-block;
    background-color: #087f5b;
    color: white;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.reservasi-home a:hover {
    background-color: #065f46;
}

.welcome-reservasi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}

.welcome-reservasi h1 {
    margin: 0;
}

.reservasi-section {
    background: #f4fbf7;
    padding: 50px 20px;
}

.reservasi-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 35px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 7px solid #10b981;
}

.reservasi-container h1 {
    color: #176B5B;
    text-align: center;
    margin-bottom: 15px;
}

.reservasi-container p {
    text-align: center;
    margin-bottom: 25px;
}

.reservasi-container label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #176B5B;
}

.reservasi-container input,
.reservasi-container select,
.reservasi-container textarea {
    width: 100%;
    padding: 12px;
    margin-top: 7px;
    border: 1px solid #b8dccc;
    border-radius: 8px;
}

.reservasi-container textarea {
    min-height: 100px;
}

.reservasi-container button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #087f5b;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.reservasi-container button:hover {
    background: #065f46;
}

.bukti-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.bukti-container {
    width: 100%;
    max-width: 600px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.bukti-container h1 {
    text-align: center;
    color: #198754;
}

.nomor-antrian {
    background: #e8f5e9;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
    border-radius: 10px;
}

.nomor-antrian h1 {
    font-size: 45px;
    margin: 10px 0;
    color: #198754;
}

.bukti-container table {
    width: 100%;
    border-collapse: collapse;
}

.bukti-container td {
    padding: 12px 8px;
    border-bottom: 1px solid #ddd;
}

.pesan {
    margin-top: 20px;
    line-height: 1.6;
}

.bukti-container button,
.bukti-container a {
    display: inline-block;
    padding: 12px 18px;
    margin-top: 15px;
    border: none;
    border-radius: 6px;
    background: #198754;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.tombol-cetak {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px auto;
}

.btn-cetak,
.btn-kembali {
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.btn-cetak {
    background: #10b981;
    color: white;
}

.btn-cetak:hover {
    background: #059669;
}

.btn-kembali {
    background: #e5e7eb;
    color: #374151;
}

.kontak-section {
    width: 100%;
    background: #ecfdf5;
    padding: 20px 35px 35px;
    margin: 0;
    text-align: center;
}

.kontak-section h2 {
    color: #065f46;
    margin-bottom: 10px;
}

.kontak-section > p {
    color: #374151;
}

.kontak-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.kontak-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.kontak-item h3 {
    color: #059669;
    font-size: 17px;
    margin-bottom: 10px;
}

.kontak-item p {
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.footer {
    background: #064E3B;
    color: #FFFFFF;
    display: flex;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 50px;
    padding: 15px;
}

@media (max-width: 768px) {
    .kontak-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .dokter-grid {
        grid-template-columns: 1fr;
    }

    .about-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .dokter-section {
        padding: 30px 5%;
    }

    .dokter-heading h1 {
        font-size: 26px;
    }

    .content-layanan {
        grid-template-columns: 1fr;
    }

    .kontak-list {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: white !important;
    }

    .tombol-cetak,
    header,
    nav,
    .sidebar,
    footer,
    .menu,
    .kontak-section {
        display: none !important;
    }

    .content {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}