html,
body {
    height: 100%;
    margin: 0;
}

.hidden {
    display: none !important;
}

#html-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nabvar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 12px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.nabvar .logo {
    height: 46px;
    object-fit: contain;
    vertical-align: middle;
}

.nabvar-left {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #666;
}

.nabvar-left>* {
    line-height: 26px;
    padding-right: 12px;
}

.nabvar-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nabvar-right button {
    margin-left: 15px;
    padding: 10px 24px;
    border: 1px solid #ffa500;
    border-radius: 8px;
    background-color: #ffa500;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nabvar-right button[plain] {
    background-color: #fff;
    color: #ffa500;
}

.trans-setting {
    margin: 32px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trans-setting__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trans-setting__content .select-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    width: 240px;
    height: 46px;
    line-height: 46px;
    padding: 0 16px;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #f3f5f6;
}

.trans-setting__content .select-field label {
    flex-shrink: 0;
    font-size: 15px;
    color: #666666;
}

.trans-setting__content .select-field select {
    flex: 1;
    width: 100%;
    height: 36px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
}

.trans-setting #translate-btn {
    margin: 24px 0 12px;
    padding: 10px 24px;
    border: 1px solid #ffa500;
    border-radius: 8px;
    background-color: #ffa500;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.drop-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #121212;
    font-weight: 600;
    text-align: center;
}

.drop-container.hover {
    background-color: #f5f9ff;
}

.drop-container p:last-child {
    margin-top: 0;
    font-size: 22px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.drop-container p:last-child:hover {
    color: #ea9518;
}