/* =========================================
   FOODTRIV LOGIN
========================================= */

.auth-page {
    min-height: calc(100vh - 90px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;

    background:
        linear-gradient(
            135deg,
            #f8f5ef 0%,
            #fff8f1 100%
        );
}


.auth-card {
    width: 100%;

    max-width: 440px;

    padding: 40px;

    background: white;

    border-radius: 28px;

    box-shadow:
        0 20px 60px
        rgba(23, 60, 66, .12);

    border: 1px solid
        rgba(23, 60, 66, .05);
}


/* LOGO */

.auth-logo {
    text-align: center;

    font-size: 34px;

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 25px;
}


.logo-food {
    color: #ff6422;
}


.logo-triv {
    color: #173c42;
}


/* HEADER */

.auth-header {
    text-align: center;

    margin-bottom: 28px;
}


.auth-header h1 {
    margin: 0 0 10px;

    color: #173c42;

    font-size: 28px;

    line-height: 1.25;
}


.auth-header p {
    margin: 0;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


/* ERROR */

.auth-error {
    padding: 12px 15px;

    margin-bottom: 20px;

    border-radius: 12px;

    background: #fff1f1;

    color: #c62828;

    font-size: 13px;
}


/* FORM */

.auth-form {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.form-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-field label,
.password-label label {
    font-size: 14px;

    font-weight: 600;

    color: #173c42;
}


.password-label {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


.forgot-password {
    color: #ff6422;

    font-size: 12px;

    text-decoration: none;
}


.forgot-password:hover {
    text-decoration: underline;
}


/* INPUT */

.input-wrapper {
    position: relative;

    display: flex;

    align-items: center;
}


.input-icon {
    position: absolute;

    left: 15px;

    font-size: 17px;

    pointer-events: none;
}


.input-wrapper input {
    width: 100%;

    box-sizing: border-box;

    height: 50px;

    padding: 0 45px;

    border: 1px solid #ddd;

    border-radius: 14px;

    background: #fafafa;

    color: #173c42;

    font-size: 14px;

    outline: none;

    transition: .2s;
}


.input-wrapper input:focus {
    background: white;

    border-color: #ff6422;

    box-shadow:
        0 0 0 4px
        rgba(255, 100, 34, .10);
}


.input-wrapper input::placeholder {
    color: #aaa;
}


/* PASSWORD TOGGLE */

.toggle-password {
    position: absolute;

    right: 12px;

    border: 0;

    background: transparent;

    cursor: pointer;

    font-size: 17px;

    padding: 5px;
}


/* REMEMBER */

.remember-me {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #666;

    font-size: 13px;

    cursor: pointer;
}


.remember-me input {
    width: 16px;

    height: 16px;

    accent-color: #ff6422;
}


/* SUBMIT */

.auth-submit {
    width: 100%;

    height: 52px;

    border: 0;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #ff6422,
            #ff7a35
        );

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(255, 100, 34, .25);

    transition: .2s;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}


.auth-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(255, 100, 34, .32);
}


.auth-submit:active {
    transform: translateY(0);
}


/* REGISTER */

.auth-register {
    text-align: center;

    margin-top: 25px;

    font-size: 14px;

    color: #777;
}


.auth-register a {
    margin-left: 5px;

    color: #ff6422;

    font-weight: 700;

    text-decoration: none;
}


.auth-register a:hover {
    text-decoration: underline;
}


/* DIVIDER */

.auth-divider {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 25px 0;

    color: #aaa;

    font-size: 12px;
}


.auth-divider::before,
.auth-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #eee;
}


/* GUEST */

.guest-btn {
    display: flex;

    align-items: center;

    justify-content: center;

    height: 48px;

    border-radius: 14px;

    background: #f3f6f5;

    color: #173c42;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition: .2s;
}


.guest-btn:hover {
    background: #e7eeec;

    transform: translateY(-1px);
}


/* FOOTER */

.auth-footer {
    text-align: center;

    margin-top: 25px;

    color: #aaa;

    font-size: 10px;

    letter-spacing: .5px;
}


/* MOBILE */

@media (max-width: 500px) {

    .auth-page {
        padding: 20px 12px;

        align-items: flex-start;
    }


    .auth-card {
        margin-top: 20px;

        padding: 28px 20px;

        border-radius: 22px;
    }


    .auth-header h1 {
        font-size: 24px;
    }


    .auth-logo {
        font-size: 30px;
    }

}

/* ==================================================
   FOODTRIV DISCOVERY
================================================== */

.foodtriv-discovery {
    width: 100%;
}


/* ==================================================
   CARD
================================================== */

.discovery-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    box-sizing: border-box;
}


/* ==================================================
   TITLE
================================================== */

.discovery-title {
    margin: 0 0 22px 0;

    font-size: 24px;
    font-weight: 700;

    color: #111;

    line-height: 1.3;
}


/* ==================================================
   MAP
================================================== */

.foodtriv-map {
    width: 100%;
    height: 225px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #dff2eb,
            #cde9df
        );

    display: flex;

    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: #238078;

    font-size: 21px;
    font-weight: 700;

    transition: .2s ease;

    box-sizing: border-box;
}


.foodtriv-map:hover {

    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #d7eee6,
            #c5e5da
        );
}


/* ==================================================
   TRENDING
================================================== */

.trending-card {
    padding-bottom: 32px;
}


.trending-tags {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.trending-tags a {

    color: #111;

    text-decoration: none;

    font-size: 19px;

    line-height: 1.4;

    transition: .2s ease;
}


.trending-tags a:hover {

    color: #ff6422;

    transform: translateX(3px);
}


/* ==================================================
   PASSPORT
================================================== */

.passport-card {

    position: relative;

    background:
        linear-gradient(
            135deg,
            #174f48,
            #0e6258
        );

    color: #fff;

    border-radius: 24px;

    padding: 26px;

    margin-bottom: 24px;

    overflow: hidden;
}


/* ==================================================
   PASSPORT HEADER
================================================== */

.passport-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 28px;
}


.passport-header h2 {

    margin: 0;

    font-size: 24px;

    font-weight: 700;
}


/* ==================================================
   PDF BUTTON
================================================== */

.passport-pdf {

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 2px solid #ff6422;

    background: #fff;

    font-size: 23px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


/* ==================================================
   PASSPORT STATS
================================================== */

.passport-content {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 25px;
}


.passport-stat {

    text-align: center;

    padding: 12px 5px;

    background: rgba(
        255,
        255,
        255,
        .08
    );

    border-radius: 14px;
}


.passport-stat strong {

    display: block;

    font-size: 25px;

    margin-bottom: 5px;
}


.passport-stat span {

    font-size: 12px;

    opacity: .85;
}


/* ==================================================
   PASSPORT LINK
================================================== */

.passport-link {

    display: block;

    color: #fff;

    text-decoration: none;

    font-weight: 600;

    font-size: 15px;
}


.passport-link:hover {

    text-decoration: underline;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .discovery-card,
    .passport-card {

        border-radius: 18px;

        padding: 20px;

        margin-bottom: 18px;
    }


    .discovery-title {

        font-size: 21px;
    }


    .foodtriv-map {

        height: 190px;

        font-size: 18px;
    }


    .trending-tags a {

        font-size: 17px;
    }


    .passport-header h2 {

        font-size: 21px;
    }

}