izzicooki's picture
Fix Task 5 code review issues: reconnect backoff, dead code, a11y, and polish
4da3586
/* Header styles */
.app-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
padding: 16px 24px;
background-color: var(--color-primary);
color: var(--color-white);
box-shadow: 0 2px 8px var(--color-shadow);
flex-shrink: 0;
}
.app-header__brand {
display: flex;
align-items: center;
gap: 14px;
}
.app-header__logo {
width: 52px;
height: 52px;
border-radius: 50%;
background-color: var(--color-white);
color: var(--color-primary);
font-size: 16px;
font-weight: 900;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
letter-spacing: 0.5px;
}
.app-header__title {
font-size: 26px;
font-weight: 800;
color: var(--color-white);
margin: 0;
line-height: 1.2;
}
.app-header__subtitle {
font-size: 16px;
color: rgba(255, 255, 255, 0.85);
margin: 0;
line-height: 1.3;
}
.app-header__user {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
}
.app-header__user-greeting {
font-size: 18px;
color: var(--color-white);
}
.app-header__user-os {
font-size: 15px;
color: rgba(255, 255, 255, 0.75);
background-color: rgba(255, 255, 255, 0.15);
border-radius: var(--radius-full);
padding: 2px 10px;
}
@media (max-width: 480px) {
.app-header {
padding: 12px 16px;
}
.app-header__title {
font-size: 22px;
}
}