:root {
    --otica-red: #CE1417;
    --otica-red-dark: #9E0E11;
    --otica-black: #121212;
    --otica-gray-bg: #F5F5F5;
    --otica-white: #FFFFFF;
}

body {
    background-color: var(--otica-gray-bg);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--otica-black);
}

/* Barra superior inspirada no topo institucional */
.top-bar {
    background-color: var(--otica-red-dark);
    color: var(--otica-white);
    font-size: 0.85rem;
    padding: 6px 0;
}

/* Cabeçalho principal vermelho */
.main-header {
    background-color: var(--otica-red);
    color: var(--otica-white);
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Campo de busca arredondado estilo pílula */
.search-pill {
    border-radius: 50px;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-pill:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
    outline: none;
}

.btn-otica {
    background-color: var(--otica-red);
    border-color: var(--otica-red);
    color: var(--otica-white);
    font-weight: 600;
}

.btn-otica:hover {
    background-color: var(--otica-red-dark);
    border-color: var(--otica-red-dark);
    color: var(--otica-white);
}

.btn-otica-dark {
    background-color: var(--otica-black);
    border-color: var(--otica-black);
    color: var(--otica-white);
    font-weight: 600;
}

.btn-otica-dark:hover {
    background-color: #2b2b2b;
    color: var(--otica-white);
}

/* Linha do tempo de status do pedido */
.status-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
}

.status-steps::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 5%;
    right: 5%;
    height: 4px;
    background-color: #dee2e6;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
}

.step-item.active .step-circle {
    background-color: var(--otica-red);
    color: var(--otica-white);
    box-shadow: 0 0 0 4px rgba(214, 19, 23, 0.2);
}

.step-item.completed .step-circle {
    background-color: #198754;
    color: var(--otica-white);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
}

.brand-logo {
    max-height: 46px;
    width: auto;
    object-fit: contain;
}

.login-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}