.container-editor {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex: 1;
    margin: 40px;
    border-radius: 15px;
    overflow: hidden;
    background: #d86d43;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: #d86d43;
}

.left-panel,
.right-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.left-panel {
    width: 60%;
    background: #f1e3de;
    border-right: 2px solid #ffafbd;
    border: 2px solid #d86d43;
}

.right-panel {
    width: 40%;
    background: #f1e3de;
    border: 2px solid #d86d43;
}

h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #733922;
    font-family: "Courier New", Courier, monospace;
}

form {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    color: #733922;
}

input[type="file"] {
    margin-top: 10px;
    padding: 8px 12px;
    border: 2px solid #733922;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

input[type="file"]:hover {
    background: #ffcdb9;
    color: black;
}

button {
    /* background: #28a745; */
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: 10px;
}

button:hover {
    background: #218838;
}

img {
    max-width: 100%;
    /* border: 5px solid #7d5443;
            border-radius: 10px; */
    margin-top: 10px;
}

.btn-register {
    background-color: #d6783e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background-color: #d87d4c;
}

.btn-login {
    background-color: #c46b52;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #bf5d45;
}

.btn-mulai-belajar {
    background-color: #c55a30;
    color: white;
    border-color: #e4774d;
    text-decoration: none;
    display: inline-block;
}

.btn-mulai-belajar:hover {
    background-color: #c28871;
    color: white;
}

.btn-halaman-dosen {
    border: 1px solid #8d3e1f;
    color: #8d3e1f;
    text-decoration: none;
    margin-left: 10px;

}

.btn-halaman-dosen:hover {
    border: 1px solid #d3ae9f;
    background-color: #d3ae9f;
}

header {
    position: sticky;
    top: 0;
    z-index: 1020;
    /* Pastikan tetap di atas elemen lainnya */
    background-color: white;
    /* Warna latar belakang navbar */
}

.header h1 {
    font-size: 24px;
    color: #5f27cd;
}

.list {
    list-style: none;
    padding: 0;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background: #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease;
}

.list-item:hover {
    background: #5f27cd;
    color: white;
}

.list-item span {
    font-weight: bold;
}

.list-item .icon {
    font-size: 18px;
    color: #555;
    transition: color 0.3s ease;
}

.list-item:hover .icon {
    color: white;
}

.btn-upload {
    background: #28a745;
}

.btn-upload:hover {
    background: #72ce88;
}

.btn-salin {
    display: none;
    background: orange;
}

.btn-salin:hover {
    background: rgb(255, 194, 81);
}

.btn-run {
    background: #0d6efd;
}

.btn-run:hover {
    background: #68a0f4;
}

/* Warna teks default */
.nav-link {
    color: #343a40 !important;
    /* Warna teks default */
    transition: color 0.3s ease !important;
    /* Animasi halus */
    font-weight: bold;
}

/* Warna teks saat di-hover */
.nav-link:hover {
    color: #e4774d !important;
    /* Warna teks saat di-hover */
    font-weight: bold;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Efek transisi */
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container-daftar-materi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 18px;
    color: #007BFF;
    margin-bottom: 10px;
}

.card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.card ul li {
    font-size: 16px;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007BFF;
    font-size: 18px;
    line-height: 16px;
}

.container-accordion {
    width: 80%;
    max-width: 800px;
    margin: 2rem auto;
    font-family: 'Montserrat', sans-serif;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d2b48c; /* coklat muda */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.30);
}

.accordion-header {
    cursor: pointer;
    padding: 1rem;
    font-weight: bold;
    background-color: #f5e6d3;
    /* krem cerah */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #d2b48c;
    /* garis pemisah */
}

.accordion-header:hover {
    background-color: #ecd3b2;
    /* krem lebih pekat saat hover */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #fffaf5;
    padding: 0 1rem;
    transition: max-height 0.5s ease, padding 0.5s ease;
    border-top: none;
    line-height: 2rem;
}

.accordion-content.open {
    padding: 2rem;
}

.arrow {
    transition: transform 0.3s ease;
}

.arrow.rotate {
    transform: rotate(180deg);
}