/* card */
.card {
    padding: 2.4rem 3.6rem !important;
}

/* Tablet Media Queries */
@media (min-width: 641px) and (max-width: 1024px) {
    .card {
        padding: 1.8rem 2.4rem !important;
    }
}

/* Phone Media Queries */
@media (max-width: 640px) {
    .card {
        padding: 1.8rem 2.4rem !important;
    }
}

/* card */

/* back button */
.topbar-content {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center;
}

.action-button {
    display: flex;
    flex-direction: row;
    place-items: center;
    gap: 0.6rem;
    padding: 0.2rem 1.2rem;
    border-radius: 0.6rem;
    background-color: var(--primary-color);
    box-shadow: rgba(100, 100, 111, 0.2) 0rem 0.7rem 2.9rem 0rem;
    cursor: pointer;
}

.action-button svg {
    width: 0.6rem;
}

/* Tablet Media Queries */
@media (min-width: 641px) and (max-width: 1024px) {}

/* Phone Media Queries */
@media (max-width: 640px) {
    .topbar-content {
        justify-content: space-between !important;
        padding: 0;
    }

    .action-button {
        background-color: var(--background-color);
    }
}

/* form */
.form-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.full-column {
    grid-column: span 2;
}

.form-header {
    display: flex;
    place-items: center;
    flex-direction: row;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-header svg {
    width: 3rem;
}

.form-header div h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

.form-header div p {
    font-size: 1.2rem;
    font-weight: 500;
}

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

.form-group label {
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    box-shadow: rgba(0, 0, 0, 0.24) 0rem 0.2rem 0.4rem;
    background-color: var(--secondary-background-color);
    padding: 1.2rem;
    border-radius: 0.6rem;
}

.form-button {
    background-color: var(--primary-color);
    box-shadow: rgba(0, 0, 0, 0.16) 0rem 0.1rem 0.4rem;
    padding: 1.2rem 0;
    border-radius: 0.8rem;
    margin-top: 1.2rem;
    font-weight: 600;
}

.form-radio {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.radio-name {
    margin-right: 1rem;
}

.radio-option {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.file-input-wrapper {
    border: 0.2rem dashed #ccc;
    border-radius: 0.6rem;
    padding: 1.2rem;
    transition: .3s;
    background-color: var(--secondary-background-color);
    box-shadow: rgba(0, 0, 0, 0.24) 0rem 0.2rem 0.4rem;

}

.drag-drop-text,
.file-types,
.file-name,
.file-size,
.celar-all-btn,
span {
    font-size: 1.2rem;
}

.file-preview-container {
    border: 0.1rem solid #ccc;
    border-radius: 0.6rem;
    padding: 1.2rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0rem 0.2rem 0.4rem;
}

.file-previews-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.file-preview {
    position: relative;
    border: 0.1rem solid #eee;
    border-radius: 0.6rem;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.image-preview {
    max-width: 12rem;
    max-height: 12rem;
    object-fit: contain;
}

.file-meta {
    display: flex;
    gap: 1.8rem;
}

.remove-file-btn {
    background: var(--error-color);
    color: var(--background-color);
    border-radius: 50%;
    width: 3.6rem;
    height: 3.6rem;
    font-size: 2.4rem;
}

/* Tablet Media Queries */
@media (min-width: 641px) and (max-width: 1024px) {
    .form-header {
        gap: 1rem;
        margin-bottom: 0.6rem;
    }

    .form-header svg {
        width: 2.4rem;
    }

    .form-header div h3 {
        font-size: 1.4rem;
    }

    .form-header div p {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
        font-size: 1rem;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder,
    .form-group select,
    .form-group input[type="date"] {
        font-size: 1rem;
    }

    .form-button {
        padding: 0.6rem 0;
        font-size: 1.2rem;
    }

    .form-radio {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        margin-top: 1rem;
    }
}

/* Phone Media Queries */
@media (max-width: 640px) {
    .form-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .full-column {
        grid-column: 1 / -1;
    }

    .form-header {
        gap: 1rem;
        margin-bottom: 0.6rem;
    }

    .form-header svg {
        width: 2.4rem;
    }

    .form-header div h3 {
        font-size: 1.4rem;
    }

    .form-header div p {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
        font-size: 1rem;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder,
    .form-group select,
    .form-group input[type="date"] {
        font-size: 1rem;
    }

    .form-button {
        padding: 0.6rem 0;
        font-size: 1.2rem;
    }

    .form-radio {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        margin-top: 1rem;
    }
}

/* form */

/* table */
.table-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2.4rem;
}

.table-card {
    overflow-x: auto;
    width: 100%
}

.table-container h2 {
    font-size: 2.4rem;
}

.search-bar {
    width: fit-content;
    display: flex;
    flex-direction: row;
    place-items: center;
    background-color: var(--secondary-background-color);
    padding: 0.6rem 2.4rem;
    border-radius: 0.6rem;
}

.search-bar svg {
    color: var(--text-color);
    width: 1.8rem;
}

input {
    background-color: var(--secondary-background-color);
}

.guru-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.guru .guru-table th,
.guru-table td {
    padding: 0.6rem 1rem;
    text-align: center;
}

.guru-table th {
    cursor: pointer;
}

.guru-table td {
    font-weight: 500;
}

.table-button {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.documentation-table-button {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.edit-btn {
    background-color: var(--primary-color);
    display: flex;
    place-items: center;
    padding: .4rem 1.2rem;
    border-radius: .6rem;
}

.edit-btn svg,
.action-button.edit-btn svg {
    color: var(--background-color);
    width: 1.8rem;
}

.action-button.edit-btn p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.action-button.edit-btn svg {
    color: var(--text-color);
}

.delete-btn {
    background-color: var(--error-color);
    display: flex;
    place-items: center;
    padding: .4rem 1.2rem;
    border-radius: .6rem;
}

.delete-btn svg {
    color: var(--background-color);
    width: 1.8rem;
}

.download-btn,
.download-all-btn {
    background-color: var(--success-color);
    display: flex;
    place-items: center;
    padding: .4rem 1.2rem;
    border-radius: .6rem;
}

.download-btn svg,
.download-all-btn svg {
    color: var(--background-color);
    width: 1.8rem;
}

.download-all-btn, 
.action-button.edit-btn {
    width: fit-content;
}

.download-all-btn p {
    color: var(--background-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.gambar-jadwal {
    width: 100%;
    border: 1px var(--text-color) solid;
    border-radius: 10px;
}

/* Tablet Media Queries */
@media (min-width: 641px) and (max-width: 1024px) {
    .table-card {
        overflow-x: auto;
        width: 100%
    }

    .table-container {
        gap: 1.2rem;
    }

    .table-container h2 {
        font-size: 1.4rem;
    }

    .search-bar {
        padding: 0rem 1.2rem;
    }

    .search-bar input::placeholder {
        font-size: 1rem;
    }

    .search-bar svg {
        width: 1.2rem;
    }

    .guru-table {
        width: 100%;

        border-collapse: collapse;
        font-size: 1.2rem;
    }

    .guru-table th,
    .guru-table td {
        padding: 0.6rem 1rem;
        text-align: center;
    }

    .guru-table th {
        cursor: pointer;
    }

    .guru-table td {
        font-weight: 500;
    }

    .table-button {
        display: flex;
        justify-content: center;
        gap: 1.2rem;
    }

    .edit-btn {
        background-color: var(--background-color);
        color: white;
    }

    .delete-btn {
        background-color: var(--background-color);
        color: white;
    }

    .gambar-jadwal {
        width: 100%;
        border: 1px var(--text-color) solid;
        border-radius: 10px;
    }
}

/* Phone Media Queries */
@media (max-width: 640px) {
    .table-container {
        gap: 1.2rem;
    }

    .table-container h2 {
        font-size: 1.4rem;
    }

    .search-bar {
        padding: 0rem 1.2rem;
    }

    .search-bar input::placeholder {
        font-size: 1rem;
    }

    .search-bar svg {
        width: 1.2rem;
    }

    .guru-table {
        width: 100%;

        border-collapse: collapse;
        font-size: 1.2rem;
    }

    .guru-table th,
    .guru-table td {
        padding: 0.6rem 1rem;
        text-align: center;
    }

    .guru-table th {
        cursor: pointer;
    }

    .guru-table td {
        font-weight: 500;
    }

    .table-button {
        display: flex;
        justify-content: center;
        gap: 1.2rem;
    }

    .edit-btn {
        background-color: var(--background-color);
        color: white;
    }

    .delete-btn {
        background-color: var(--background-color);
        color: white;
    }

    .gambar-jadwal {
        width: 100%;
        border: 1px var(--text-color) solid;
        border-radius: 10px;
    }
}

/* table */