#app {
    margin: 0;
    text-align: left;
    height: 100%;
    color: #2c3e50;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;    
}

body {
    margin: 0;
    padding: 0;
}

/* overflow-y: hidden - Hide vertical overflow content that extends beyond viewport */
.full-container {
    flex: 1;
    max-height:100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: auto;
}

.main_container {
    overflow: hidden;
    height: var(--mainHeight, 100%) !important;
    width: 100%; 
}

.app-container {
    display: flex;
    flex-direction: column;
    height: calc(var(--mainHeight, 100vh)) !important;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    width: 100%;
}

.title {
    margin: 0;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 36px;
}

.nav-container {
    flex-direction: column;
    background-color: #f5f7fa;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px !important;
    border-radius: 4px;
    margin-bottom: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #dcdfe6;
    min-height: 50px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f7fa;
    padding: 20px;
}

.user-card {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.user-title {
    text-align: center;
    color: #303133;
    margin-bottom: 20px;
    font-size: 24px;
}

.user-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.user-button {
    flex: 1;
    height: 40px;
    font-size: 16px;
}

.header-buttons {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
}

.header-buttons .el-button {
    margin: 5px;
}

@media (max-width: 768px) {
    .user-card {
        margin: 10px;
        padding: 15px;
    }

    .title {
        margin-bottom: 20px;
        font-size: 1.5em;
    }

    .button-group {
        flex-direction: column;
    }

    .el-button {
        padding: 3px;
    }

    .aside-menu {
        width: 120px !important;
    }

    .nav-avatar {
        width: 28px;
        height: 28px;
    }

    .title {
        font-size: 16px;
        margin: 0;
    }

    button {
        margin: 3px;
        padding: 3px;
        font-size: 14px;
        width: auto;
    }

    .translate-header {
        flex-direction: column;
    }

    .nav-container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.el-button {
    padding: 6x;
}

.icon-button {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-button .el-icon {
    font-size: 14px;
    width: 16px;
    height: 16px;
}

.aside-menu {
    border-right: solid 1px #e6e6e6;
    min-height: calc(100vh - 160px);
    width: 200px !important;
}

.el-aside {
    border-right: 1px solid #e6e6e6;
}

.mobile-aside {
    width: 120px !important;
}

.aside-menu.collapse-aside {
    width: 36px !important;
    padding: 0;
    overflow: hidden;  
}

.collapse-aside .el-menu {
    width: 0;
    overflow: hidden;
}

.el-menu--collapse {
transition: none !important;
}
  
.aside-menu {
transition: none !important;
}

.el-aside {
transition: none !important;
}

.el-menu {
transition: none !important;
}

.toggle-button-collapse {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    background: #f4f4f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-button-collapse:hover {
    background: #e6e6e6;
}
 
.list-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    width:100%;
}

.pagination-container {
    margin-top: 0px;
    width: 100%;
    padding: 5px 0;
    display: flex;
    overflow-x: auto;
    justify-content: left;
    min-width: 0;
}

.translate-common-style {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    margin-top: 10px;
}

.translate-word-display {
    flex-grow: 2;
    text-align: left;
    align-self: flex-start;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
}

.translate-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    gap: 5px;
}

.translate-buttons button {
    width: 100%;
}

.translate-header {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.translate-counter {
    top: 10px;
    right: 20px;
    font-size: 14px;
    color: #333;
}

button {
    margin: 3px 0;
    padding: 3px;
    font-size: 16px;
    width: auto;
}

.setting-info-section {
    margin-bottom: 24px;
}

.settings-section {
    margin-bottom: 0px;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
}

.settings-section-header {
    padding: 12px 20px;
    border-bottom: 1px solid #e4e7ed;
    font-size: 16px;
    font-weight: 500;
    color: #303133;
    background-color: #f5f7fa;
}

.settings-section-content {
    padding: 10px;
}

.title-filename-container {
    margin-left: 10px;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}