:root {
    --brand: #D44400;
    --brand-dark: #a73600;
    --brand-soft: rgba(212, 68, 0, .08);
    --brand-border: rgba(212, 68, 0, .14);

    --bg1: #fff7f2;
    --bg2: #ffffff;

    --text: #2d2d2d;
    --muted: #6b7280;
    --border: #eadfd8;

    --shadow-card: 0 24px 80px rgba(17, 24, 39, .12);
    --shadow-brand: 0 14px 28px rgba(212, 68, 0, .22);
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background:
        radial-gradient(1200px 600px at 10% 0%, rgba(212, 68, 0, .08), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(32, 201, 151, .07), transparent 60%),
        linear-gradient(120deg, var(--bg1), var(--bg2));
    background-attachment: fixed;
    overflow-x: hidden;
    color: var(--text);
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-form {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
}

/* LOGO */

.logoFoodCard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 390px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 247, 242, .98));
    border: 1px solid var(--brand-border);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .08);
}

.logoFoodCard.small {
    padding: 8px 12px;
    border-radius: 16px;
    box-shadow: none;
}

.logoFood-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(135deg, #D44400, #ff7b39);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(212, 68, 0, .25);
}

.logoFood-title {
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.1;
    color: #1f2937;
}

.logoFood-sub {
    font-weight: 700;
    font-size: .95rem;
    color: var(--brand);
    margin-top: 3px;
}

.logoFood-tagline {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 6px;
}

.logoFood-pill {
    display: inline-flex;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--brand);
    background: var(--brand-soft);
}

/* TABS */

.segmented a {
    text-decoration: none;
    color: #5b5b5b;
    border: 1px solid #ececec;
    background: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    transition: all .2s ease;
    min-width: 92px;
    text-align: center;
}

.segmented a:hover {
    transform: translateY(-1px);
    border-color: #ffd8ca;
    color: var(--brand);
}

.segmented a.active {
    background: linear-gradient(135deg, var(--brand), #ff7b39);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(212, 68, 0, .22);
}

/* FORM */

.form-label {
    font-weight: 700;
    color: #374151;
}

.form-control {
    border-radius: 16px;
    min-height: 52px;
    border: 1px solid var(--border);
    padding-left: 14px;
    padding-right: 14px;
}

.form-control:focus {
    border-color: #ffb899;
    box-shadow: 0 0 0 .2rem rgba(212, 68, 0, .12);
}

.input-group .form-control {
    border-radius: 16px 0 0 16px;
}

.input-group-text {
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 16px 16px 0;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 0;
}

.btn-login {
    width: 100%;
    border: 0;
    border-radius: 16px;
    min-height: 52px;
    font-weight: 800;
    letter-spacing: .01em;
    background: linear-gradient(135deg, var(--brand), #ff7b39);
    color: #fff;
    box-shadow: var(--shadow-brand);
    transition: all .2s ease;
}

.btn-login:hover {
    color: #fff;
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--brand-dark), #f26d2b);
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.login-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-top: 18px;
}

.login-links a {
    text-decoration: none;
    font-weight: 700;
    color: #4b5563;
}

.login-links a:hover {
    color: var(--brand);
}

.login-links a.link-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid rgba(212, 68, 0, .16);
    background: rgba(212, 68, 0, .05);
    border-radius: 999px;
    color: var(--brand);
    font-weight: 800;
}

.login-links a.link-demo:hover {
    background: rgba(212, 68, 0, .09);
    color: var(--brand-dark);
}

.login-foot {
    margin-top: 18px;
    font-size: .92rem;
    color: var(--muted);
    text-align: center;
}

.alert {
    border-radius: 18px;
}

/* RESPONSIVE */

@media (max-width: 576px) {
    .login-wrap {
        padding: 16px;
        align-items: flex-start;
        padding-top: 28px;
    }

    .login-form {
        border-radius: 22px;
        padding: 22px 18px;
    }

    .logoFoodCard {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 14px;
    }

    .logoFood-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 16px;
    }

    .logoFood-title {
        font-size: 1.1rem;
    }

    .logoFood-sub {
        font-size: .86rem;
    }

    .logoFood-tagline {
        font-size: .78rem;
    }

    .segmented a {
        min-width: auto;
        padding: 9px 12px;
        font-size: .9rem;
    }
}
/* FIX LOGO BOWLS */
.logoFoodCard .logoFood-icon{
    width:72px !important;
    height:72px !important;
    min-width:72px !important;
    position:relative !important;
    border-radius:22px !important;
    background:#fff !important;
    box-shadow:none !important;
    overflow:hidden !important;
}

.logoFoodCard .logoFood-bowl{
    display:block !important;
    position:absolute !important;
    width:56px !important;
    height:28px !important;
    border-radius:0 0 34px 34px !important;
    left:8px !important;
}

.logoFoodCard .logoFood-bowl.yellow{
    background:#ffc928 !important;
    bottom:12px !important;
}

.logoFoodCard .logoFood-bowl.pink{
    background:#ff5da2 !important;
    bottom:24px !important;
}

.logoFoodCard .logoFood-bowl.blue{
    background:#5fa8ff !important;
    bottom:36px !important;
    transform:rotate(5deg) !important;
}