#address-bar-container {
    display: flex;
    height: calc(100% - 10px);
    flex: 1;
    margin-right: 3px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 5px;
    position: relative;
    align-self: center;
}

#address-bar-container:focus-within {
    outline: none;
    box-shadow: 0 0 3px dodgerblue;
}

#address-bar-container:focus-within #inactivity-timer-field {
    display: block;
}

#zoom-field {
    display: inline-block;
    min-width: 40px;
    height: 16px;
    padding: 2px 4px;
    align-self: center;
    text-align: center;
    font-size: 0.8em;
    background-color: #e0e0e0;
    border: none;
    border-radius: 3px;
    margin-right: 2px;
    cursor: pointer;
}

#security-label {
    display: inline-flex;
    height: 100%;
    margin-left: 2px;
    vertical-align: top;
}

#security-label span {
    font-family: Arial;
    font-size: 0.9em;
    color: gray;
    vertical-align: middle;
    flex: 1;
    align-self: center;
    text-align: left;
    padding-left: 5px;
    white-space: nowrap;
}

.icn {
    display: inline-block;
    margin: 2px 0;
    border-radius: 5px;
    top: 0;
    width: 26px;
    height: 26px;
}

#icn-lock {
    background-size: 100%;
}

#security-label.label-unknown .icn {
    background-image: url('img/secure.png');
}

#security-label.label-insecure .icn {
    background-image: url('img/insecure.png');
}

#security-label.label-insecure span {
    color: rgb(192, 0, 0);
}

#security-label.label-neutral .icn {
    background-image: url('img/neutral.png');
}

#security-label.label-secure .icn {
    background-image: url('img/secure.png');
}

#security-label.label-secure span, #security-label.label-neutral span {
    display: none;
}

#address-form {
    margin: 0;
}

#address-field {
    flex: 1;
    padding: 6px 12px 6px 4px;
    border: none;
    border-radius: 5px;
    margin: 0;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

#address-field:focus {
    outline: none;
}

#btn-fav {
    margin: 2px 5px;
    background-size: 100%;
    background-image: url('img/favorite.png');
}

#btn-fav:hover {
    background-color: rgb(230, 230, 230);
}

#btn-fav.favorited {
    background-image: url('img/favorited.png');
}

#inactivity-timer-field {
    display: inline-block;
    width: 60px;
    height: 16px;
    padding: 2px;
    align-self: center;
    text-align: center;
    background-size: 100%;
    background-color:aqua;
    border: none;
    border-radius: 3px;
}

#activity-timer-field {
    display: inline-block;
    width: 60px;
    height: 16px;
    padding: 2px;
    align-self: center;
    text-align: center;
    background-size: 100%;
    background-color: #ff6b6b;
    border: none;
    border-radius: 3px;
}

#context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 2px 0;
    min-width: 100px;
}

.context-menu-item {
    padding: 3px 12px;
    font-family: Arial;
    font-size: 0.8em;
    cursor: pointer;
    white-space: nowrap;
}

.context-menu-item:hover {
    background-color: #e8e8e8;
}
