/* Container Utama */
#creator, #database {
    display: none; /* Sembunyi secara default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 10000;
    overflow: hidden;
}

/* Aktifkan Flex hanya saat class ini ada */
#creator.active-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

#database.active-section {
    display: flex;
}

/* --- Tampilan Login (#creator) --- */
.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Efek Merah Blur di Background sesuai UI/UX */
    background: radial-gradient( rgba(255,255,255,1) 70%);
}

.login-logo {
    width: 120px; /* Ukuran logo supaya tidak memenuhi layar */
    margin-bottom: 10px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid #bdbdbd;
    padding: 50px 80px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.glass-card p {
    margin-bottom: 25px;
    color: #333;
    letter-spacing: 1px;
}

.btn-google {
    background: black;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-google:hover {
    transform: scale(1.05);
}

/* --- Tampilan Database (#database) --- */
#database.active-section {
    display: flex !important;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* --- SIDEBAR (Kiri) --- */
.db-sidebar {
    width: 300px;
    background-color: #ff0000;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 50px 0;
    height: 100vh;
}

.db-logo {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.db-nav-item {
    padding: 20px 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.db-nav-item.active {
    background-color: rgba(0, 0, 0, 0.15);
    font-weight: bold;
}

/* --- MAIN CONTENT (Kanan) --- */
.db-main {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.db-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.admin-name {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- AREA CARD DATA --- */
.db-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.db-card {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-info {
    flex: 1;
    padding: 30px;
}

.card-info strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.btn-dismiss {
    width: 60px;
    background-color: #000000;
    color: white;
    border: none;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
    font-size: 14px;
}

/* --- BUTTON LOG OUT --- */
.db-footer {
    margin-top: auto;
    padding: 0 40px 40px 40px;
    position: static;
    background: transparent !important;
}

.btn-logout {
    width: 100%;
    background-color: white;
    color: #ff0000;
    border: 2px solid white;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-logout:hover {
    background-color: #ff0000;
    color: white;
}