
html, body {
    box-sizing: border-box;
    overflow-x: hidden;
}
*, *:before, *:after {
    box-sizing: inherit;
}

.container, .main-posts-container, .posts-container, .dashboard-container, .home-container, .file-manager-container, .system-info-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}


main {
    flex: 1;
    padding: 2rem;
}


footer {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-top: auto;
}


.home-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.home-container h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.home-container p {
    font-size: 1.2rem;
    color: #666;
}


.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #18188B;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(24, 24, 139, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn:hover {
    background: #0f0f5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 24, 139, 0.4);
}

.scroll-to-top-btn.show {
    display: flex;
}


@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}


input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}


input[type="password"]::-ms-reveal {
    display: none;
}
input[type="password"]::-ms-clear {
    display: none;
}