/* layout.css */

/* --- Sidebar Styles (from sidebar.css) --- */
.toggle-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 200;
    cursor: pointer;
    background-color: rgba(10, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
}

.toggle-button i {
    font-size: 1.5rem;
    color: white;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #0A0617;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 150;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar.active {
    left: 0;
}

.toggle-button.right {
    left: 270px;
}

.profile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #fff;
}

.profile-info ion-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: #57C4E5;
}

.nav-list {
    list-style: none;
    padding: 0;
}

.nav-list li {
    margin-bottom: 10px;
}

.nav-list a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-list a:hover {
    background-color: #1f2025;
}

.nav-list a ion-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #57C4E5;
}

.nav-list a p {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.divider {
    height: 1px;
    background-color: #333;
    margin: 20px 0;
}

.bottom-list {
    margin-top: auto;
}

.switch-theme, .logout {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #1f2025;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.switch-theme:hover, .logout:hover {
    background-color: #2a2b30;
}

.switch-theme ion-icon, .logout ion-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #57C4E5;
}

.switch-theme p, .logout p {
    margin: 0;
    font-size: 1rem;
    color: white;
}

/* Sidebar Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px;
}

.language-switcher p {
    margin: 0;
    font-size: 0.9rem;
    color: #999;
}

.lang-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    color: #fff;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.lang-button.active {
    background-color: #57C4E5;
    color: #0A0617;
}

/* --- Footer Styles (from footer.css) --- */
.main-footer {
  margin-top: auto;
  background-color: #0A0617;
  padding: 50px 20px;
  color: #999;
  font-size: 0.9rem;
  width: 100%;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
}

.footer-text p {
    color: #fff;
    font-size: 1rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff00ff;
}

.footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 20px 0;
}

.copyright-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
}

.copyright-section p {
    color: #777;
}

@media (max-width: 768px) {
    .footer-section, .copyright-section {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        margin-top: 10px;
    }
    .social-icons a {
        margin: 0 10px;
    }
}