/* PlayMods Error Page Styles - Similar to Apklite */

/* 确保面包屑导航与 Logo 左侧对齐 */
.bread-nav {
    padding-left: 20px !important;
    margin-left: 0 !important;
    text-align: left !important;
}

/* 确保容器左侧对齐 */
#page.error-page .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.error {
    text-align: center !important;
    height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.error .error-message {
    font-size: 2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.error .error-image {
    width: 18em;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.error .back {
    text-align: center !important;
}

.error .back .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.error .back .btn:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: white;
}

/* 确保错误页面没有大片空白 */
#page.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#page.error-page #content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#page.error-page .container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .error {
        height: auto;
        min-height: 60vh;
        padding: 20px 15px;
    }

    .error .error-message {
        font-size: 1.5em;
    }

    .error .error-image {
        width: 15em;
    }
}