/* Browser Chrome Styles */
.ie-navigation-row {
    height: 40px;
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
    border-bottom: 1px solid #c6c6c6;
    display: flex;
    align-items: center;
    padding: 4px 6px;
    gap: 8px;
}

.ie-nav-buttons {
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
}

.ie-back-btn,
.ie-forward-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #4a90e2, #357abd);
    border: 1px solid #2d5f8f;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.ie-back-btn:not(.enabled),
.ie-forward-btn:not(.enabled) {
    background: linear-gradient(to bottom, #cccccc, #aaaaaa);
    border-color: #999999;
    color: #666666;
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.ie-address-bar {
    flex: 1;
    height: 24px;
    background: white;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.ie-privacy-icon {
    width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    border-right: 1px solid #e0e0e0;
}

.ie-address-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 4px;
    font-size: 12px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: transparent;
    color: #333;
}

.ie-address-dropdown {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
}

.ie-refresh-btn,
.ie-stop-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    margin-left: 2px;
    border-radius: 2px;
}

.ie-refresh-btn:hover,
.ie-stop-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.ie-menu-bar {
    height: 22px;
    background: linear-gradient(to bottom, #f9f9f9, #e7e7e7);
    border-bottom: 1px solid #c6c6c6;
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.ie-menu-item {
    padding: 2px 8px;
    font-size: 11px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: #000;
    cursor: pointer;
    border-radius: 2px;
}

.ie-menu-item:hover {
    background: rgba(0, 0, 0, 0.1);
}

.ie-favorites-bar {
    height: 24px;
    background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
    border-bottom: 1px solid #c6c6c6;
    display: flex;
    align-items: center;
    padding: 0 6px;
    gap: 8px;
}

.ie-favorites-star {
    font-size: 16px;
    cursor: pointer;
}

.ie-bookmark-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: #000;
    cursor: pointer;
    border-radius: 2px;
}

.ie-bookmark-item:hover {
    background: rgba(0, 0, 0, 0.1);
}

.ie-bookmark-item img {
    flex-shrink: 0;
}

.ie-bookmark-divider {
    width: 1px;
    height: 16px;
    background: #c6c6c6;
    margin: 0 4px;
}

.ie-tab-bar {
    min-height: 26px;
    background: #d1d8e4;
    border-bottom: 1px solid #9caac3;
    display: flex;
    align-items: flex-end;
    padding: 0 6px 0;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}

.ie-active-tab {
    background: linear-gradient(to bottom, #e8f0ff, #c2d9ff);
    border: 1px solid #9caac3;
    border-bottom: 1px solid #c2d9ff;
    border-radius: 4px 4px 0 0;
    padding: 4px 8px 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: #000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    cursor: default;
    white-space: nowrap;
    max-width: 200px;
    flex-shrink: 0;
}

.ie-tab {
    background: linear-gradient(to bottom, #c8cdd8, #b0b8c8);
    border: 1px solid #9caac3;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    padding: 3px 8px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    max-width: 200px;
    flex-shrink: 0;
    margin-right: 1px;
}

.ie-tab:hover {
    background: linear-gradient(to bottom, #d8dde8, #c0c8d8);
}

.ie-active-tab img,
.ie-tab img {
    flex-shrink: 0;
}

.ie-active-tab span,
.ie-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.ie-tab-close {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666;
    cursor: pointer;
    border-radius: 50%;
    margin-left: 4px;
    flex-shrink: 0;
}

.ie-tab-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #000;
}

.ie-new-tab-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 4px;
    margin-bottom: 2px;
    flex-shrink: 0;
}

.ie-new-tab-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}