* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f5f0;
    color: #24302d;
}


/* TOPBAR */

.topbar {
    height: 76px;
    background: white;

    display: flex;
    align-items: center;

    padding: 0 30px;

    border-bottom: 1px solid #eee;

    position: sticky;
    top: 0;
    z-index: 100;
}


.logo {
    font-size: 30px;
    font-weight: 800;

    min-width: 240px;
}

.logo span {
    color: #ff6b22;
}


.search-box {
    flex: 1;

    max-width: 650px;

    margin: auto;

    background: #f5f5f3;

    border-radius: 30px;

    padding: 12px 20px;
}


.search-box input {
    border: 0;
    outline: 0;

    background: transparent;

    width: 90%;

    font-size: 15px;
}


.top-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}


.top-actions button {
    border: 0;
    background: transparent;

    font-size: 22px;

    cursor: pointer;
}

/* ==================================================
   FOODTRIV MOBILE NAVIGATION
   CHỈ HIỂN THỊ TRÊN ĐIỆN THOẠI
================================================== */


/* ==================================================
   MOBILE NAV - DEFAULT
   PC / LAPTOP: ẨN
================================================== */

.foodtriv-mobile-nav {

    display: none;

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 68px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

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

    z-index: 9999;

    padding: 0 5px;

    box-shadow:
        0 -4px 20px rgba(0, 0, 0, 0.08);

}


/* ==================================================
   MOBILE NAV ITEM
================================================== */

.foodtriv-mobile-item {

    width: 20%;
    height: 68px;

    display: flex;

    flex-direction: column;

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

    text-decoration: none;

    color: #777777;

    font-size: 10px;

    gap: 4px;

    transition:
        color .2s ease,
        transform .2s ease;

}


/* ICON */

.foodtriv-mobile-item i {

    font-size: 21px;

    line-height: 1;

}


/* TEXT */

.foodtriv-mobile-item span {

    font-size: 10px;

    line-height: 1;

}


/* ACTIVE */

.foodtriv-mobile-item.active {

    color: #e53935;

}


.foodtriv-mobile-item.active i {

    transform: scale(1.08);

}


/* CLICK */

.foodtriv-mobile-item:active {

    transform: scale(.92);

}


/* ==================================================
   CREATE BUTTON
================================================== */

.foodtriv-mobile-create {

    width: 20%;
    height: 68px;

    border: 0;

    outline: none;

    background: transparent;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: #777777;

    padding: 0;

    cursor: pointer;

}


/* ==================================================
   CREATE CIRCLE
================================================== */

.create-circle {

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: #e53935;

    color: #ffffff;

    border: 4px solid #ffffff;

    display: flex;

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

    margin-top: -25px;

    box-shadow:
        0 5px 18px rgba(229, 57, 53, .35);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.create-circle i {

    font-size: 24px;

    line-height: 1;

}


/* CREATE TEXT */

.foodtriv-mobile-create small {

    font-size: 10px;

    line-height: 1;

    margin-top: 2px;

    color: #777777;

}


/* CREATE PRESS */

.foodtriv-mobile-create:active
.create-circle {

    transform: scale(.9);

    box-shadow:
        0 3px 10px rgba(229, 57, 53, .25);

}


/* ==================================================
   CREATE OVERLAY
   DEFAULT: ẨN
================================================== */

.foodtriv-create-overlay {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, .45);

    z-index: 10000;

    display: none;

    align-items: flex-end;

    backdrop-filter: blur(2px);

}


/* OPEN */

.foodtriv-create-overlay.show {

    display: none;

}


/* ==================================================
   CREATE SHEET
================================================== */

.foodtriv-create-sheet {

    width: 100%;

    max-width: 600px;

    margin: 0 auto;

    background: #ffffff;

    border-radius: 22px 22px 0 0;

    padding: 18px 18px 25px;

    animation:
        foodtrivSheetUp .25s ease;

}


/* ==================================================
   SHEET ANIMATION
================================================== */

@keyframes foodtrivSheetUp {

    from {

        transform: translateY(100%);

    }

    to {

        transform: translateY(0);

    }

}


/* ==================================================
   CREATE HEADER
================================================== */

.create-sheet-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 8px;

}


.create-sheet-header strong {

    font-size: 18px;

    font-weight: 600;

    color: #222222;

}


/* CLOSE BUTTON */

.create-sheet-header button {

    width: 36px;
    height: 36px;

    border: 0;

    outline: none;

    border-radius: 50%;

    background: #f4f4f4;

    color: #555555;

    display: flex;

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

    cursor: pointer;

}


.create-sheet-header button i {

    font-size: 14px;

}


/* ==================================================
   CREATE OPTION
================================================== */

.create-option {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 13px 5px;

    text-decoration: none;

    color: #222222;

    border-bottom: 1px solid #f1f1f1;

    transition:
        background .2s ease;

}


.create-option:last-child {

    border-bottom: 0;

}


/* HOVER */

.create-option:hover {

    background: #fafafa;

}


/* ==================================================
   CREATE OPTION ICON
================================================== */

.create-option-icon {

    width: 46px;
    height: 46px;

    flex-shrink: 0;

    border-radius: 14px;

    background: #f7f7f7;

    display: flex;

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

}


.create-option-icon i {

    font-size: 21px;

    color: #e53935;

}


/* ==================================================
   CREATE OPTION TEXT
================================================== */

.create-option strong {

    display: block;

    font-size: 14px;

    font-weight: 600;

    color: #222222;

}


.create-option small {

    display: block;

    color: #888888;

    font-size: 11px;

    margin-top: 2px;

}


/* ==================================================
   MOBILE ONLY
   CHỈ ĐIỆN THOẠI
================================================== */

@media (max-width: 767px) {


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

    .foodtriv-mobile-nav {

        display: flex;

    }


    /* ==============================================
       CREATE OVERLAY
    ============================================== */

    .foodtriv-create-overlay.show {

        display: flex;

    }


    /* ==============================================
       BODY SPACE
    ============================================== */

    body {

        padding-bottom: 75px;

    }


    /* ==============================================
       CONTENT
    ============================================== */

    .content {

        padding-bottom: 10px;

    }


}


/* ==================================================
   VERY SMALL PHONES
================================================== */

@media (max-width: 380px) {


    .foodtriv-mobile-nav {

        height: 64px;

        padding: 0 2px;

    }


    .foodtriv-mobile-item {

        height: 64px;

    }


    .foodtriv-mobile-item i {

        font-size: 19px;

    }


    .foodtriv-mobile-item span {

        font-size: 9px;

    }


    .foodtriv-mobile-create {

        height: 64px;

    }


    .create-circle {

        width: 44px;
        height: 44px;

    }


    .create-circle i {

        font-size: 21px;

    }


}


/* ==================================================
   PC / LAPTOP SAFETY
   ĐẢM BẢO KHÔNG HIỆN MOBILE MENU
================================================== */

@media (min-width: 768px) {

    .foodtriv-mobile-nav {

        display: none !important;

    }


    .foodtriv-create-overlay {

        display: none !important;

    }

}
/* LAYOUT */

.layout {
    display: grid;

    grid-template-columns:
        240px
        minmax(500px, 1fr)
        340px;

    gap: 25px;

    max-width: 1600px;

    margin: auto;

    padding: 25px;
}


/* SIDEBAR */

.sidebar {
    background: white;

    border-radius: 20px;

    padding: 18px;

    height: fit-content;

    position: sticky;
    top: 100px;
}


.sidebar a {
    display: block;

    padding: 13px 15px;

    margin-bottom: 5px;

    border-radius: 12px;

    text-decoration: none;

    color: #34403d;

    cursor: pointer;
}


.sidebar a:hover,
.sidebar a.active {
    background: #fff0e5;

    color: #f26522;

    font-weight: 600;
}


/* CONTENT */

.content {
    min-width: 0;
}


.hero {
    background:
        linear-gradient(
            120deg,
            #103c38,
            #1c6158
        );

    color: white;

    border-radius: 28px;

    padding: 45px;

    min-height: 300px;

    display: flex;

    align-items: center;
}


.hero h1 {
    font-size: 42px;

    line-height: 1.15;

    margin: 15px 0;
}


.hero p {
    max-width: 600px;

    color: #dce9e5;

    font-size: 17px;
}


.primary-btn {
    border: 0;

    background: #ff6b22;

    color: white;

    padding: 13px 22px;

    border-radius: 25px;

    font-weight: bold;

    cursor: pointer;
}


/* CREATE */

.create-box {
    margin-top: 20px;

    background: white;

    border-radius: 20px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 15px;
}


.avatar {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: #eee;

    display: flex;

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


.create-box input {
    flex: 1;

    border: 0;

    outline: 0;

    background: #f5f5f3;

    padding: 15px 20px;

    border-radius: 25px;
}


/* FOOD */

.discover {
    margin-top: 25px;
}


.food-grid {
    display: grid;

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

    gap: 15px;
}


.food-card {
    background: white;

    padding: 15px;

    border-radius: 20px;

    transition: .2s;

    cursor: pointer;
}


.food-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.08);
}


.food-image {
    height: 160px;

    border-radius: 15px;

    background: #ffe4d2;

    display: flex;

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

    font-size: 70px;
}


.food-card h3 {
    margin-bottom: 5px;
}


.food-card p {
    color: #f5a400;
}


/* RIGHT */

.rightbar {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.card {
    background: white;

    border-radius: 20px;

    padding: 20px;
}


.map-placeholder {
    height: 180px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #dff0e7,
            #c8e3db
        );

    display: flex;

    align-items: center;

    justify-content: center;

    color: #27766b;

    font-weight: bold;
}


.passport {
    background:
        linear-gradient(
            145deg,
            #143d39,
            #23675c
        );

    color: white;
}


/* MOBILE */

@media (max-width: 1100px) {

    .layout {
        grid-template-columns:
            200px
            1fr;
    }

    .rightbar {
        display: none;
    }

}


@media (max-width: 700px) {

    .topbar {
        padding: 0 15px;
    }

    .logo {
        min-width: auto;
        font-size: 24px;
    }

    .search-box {
        display: none;
    }

    .layout {
        display: block;

        padding: 10px;
    }

    .sidebar {
        display: none;
    }

    .hero {
        padding: 30px 25px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }

}

.post-input {
    flex: 1;

    display: block;

    background: #f5f5f3;

    padding: 15px 20px;

    border-radius: 25px;

    color: #777;

    text-decoration: none;

    transition: .2s;
}

.post-input:hover {
    background: #eeeeeb;

    color: #f26522;
}

/* =========================
   PROFILE
========================= */

.profile-page {
    max-width: 100%;
}


/* COVER */

.profile-cover {
    height: 260px;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    background: #dcebe6;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-cover-default {
    height: 100%;

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

    font-size: 90px;

    background:
        linear-gradient(
            135deg,
            #0f4d46,
            #237267
        );
}


/* HEADER */

.profile-header {
    position: relative;

    background: white;

    padding: 0 30px 25px;

    display: flex;
    align-items: flex-end;

    gap: 25px;
}


.profile-avatar {
    width: 130px;
    height: 130px;

    margin-top: -65px;

    border-radius: 50%;

    overflow: hidden;

    border: 6px solid white;

    background: #eee;

    flex-shrink: 0;
}


.profile-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.avatar-default {
    width: 100%;
    height: 100%;

    display: flex;

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

    font-size: 50px;
}


.profile-info {
    flex: 1;

    padding-top: 15px;
}


.profile-info h1 {
    margin: 0;

    font-size: 30px;
}


.profile-username {
    color: #777;

    margin-top: 3px;
}


.profile-bio {
    margin: 12px 0;

    color: #444;
}


.profile-location {
    color: #777;
}


.profile-actions {
    padding-bottom: 10px;
}


.follow-btn,
.edit-profile-btn {
    border: 0;

    padding: 11px 20px;

    border-radius: 25px;

    background: #ff6b22;

    color: white;

    font-weight: 600;

    cursor: pointer;

    text-decoration: none;

    display: inline-block;
}


.follow-btn:hover,
.edit-profile-btn:hover {
    opacity: .9;
}


/* STATS */

.profile-stats {
    display: flex;

    background: white;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;
}


.profile-stat {
    flex: 1;

    text-align: center;

    padding: 18px;
}


.profile-stat strong {
    display: block;

    font-size: 23px;
}


.profile-stat span {
    color: #777;

    font-size: 14px;
}


/* PASSPORT */

.profile-passport {
    margin-top: 20px;

    padding: 20px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    background:
        linear-gradient(
            135deg,
            #123f39,
            #246d62
        );

    color: white;
}


.passport-icon {
    font-size: 42px;
}


.passport-content {
    flex: 1;
}


.passport-content h3 {
    margin: 0 0 5px;
}


.passport-content p {
    margin: 0;

    opacity: .85;
}


.passport-stats {
    display: flex;

    gap: 15px;

    font-size: 14px;
}


/* TABS */

.profile-tabs {
    margin-top: 20px;

    background: white;

    border-radius: 18px;

    padding: 8px;

    display: flex;

    gap: 5px;
}


.profile-tabs a {
    flex: 1;

    text-align: center;

    padding: 12px;

    border-radius: 12px;

    color: #555;

    text-decoration: none;

    cursor: pointer;
}


.profile-tabs a.active {
    background: #fff0e5;

    color: #f26522;

    font-weight: 600;
}


/* POSTS */

.profile-posts {
    margin-top: 20px;
}


.post-card {
    background: white;

    border-radius: 20px;

    padding: 20px;

    margin-bottom: 20px;
}


.post-header {
    display: flex;

    align-items: center;

    gap: 12px;
}


.post-avatar {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    overflow: hidden;

    background: #eee;

    display: flex;

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


.post-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.post-user {
    display: flex;

    flex-direction: column;
}


.post-author {
    color: #222;

    font-weight: 700;

    text-decoration: none;
}


.post-meta {
    color: #888;

    font-size: 13px;

    margin-top: 3px;
}


.post-content {
    margin-top: 15px;

    line-height: 1.6;
}


.post-images {
    display: grid;

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

    gap: 8px;

    margin-top: 15px;
}


.post-images img {
    width: 100%;

    height: 240px;

    object-fit: cover;

    border-radius: 15px;
}


.post-actions {
    display: flex;

    gap: 10px;

    border-top: 1px solid #eee;

    margin-top: 15px;

    padding-top: 12px;
}


.post-actions button {
    border: 0;

    background: transparent;

    padding: 8px 12px;

    border-radius: 10px;

    cursor: pointer;

    color: #555;
}


.post-actions button:hover {
    background: #f5f5f3;
}


.reaction-btn.active {
    color: #f26522;
}


/* COMMENTS */

.comments {
    margin-top: 10px;
}


.comment {
    background: #f5f5f3;

    border-radius: 12px;

    padding: 9px 12px;

    margin-top: 6px;

    font-size: 14px;
}


.comment strong {
    margin-right: 7px;
}


/* EMPTY */

.empty-profile {
    background: white;

    border-radius: 20px;

    padding: 60px 20px;

    text-align: center;
}


.empty-icon {
    font-size: 60px;
}


.empty-profile h2 {
    margin-bottom: 5px;
}


.empty-profile p {
    color: #777;

    margin-bottom: 25px;
}

/*mobile */
@media (max-width: 700px) {

    .profile-cover {
        height: 180px;
    }

    .profile-header {
        padding: 0 15px 20px;

        flex-wrap: wrap;

        gap: 10px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;

        margin-top: -50px;
    }

    .profile-info {
        width: calc(100% - 115px);
    }

    .profile-info h1 {
        font-size: 23px;
    }

    .profile-actions {
        width: 100%;
    }

    .follow-btn,
    .edit-profile-btn {
        width: 100%;

        text-align: center;
    }

    .passport-stats {
        display: none;
    }

    .profile-tabs a {
        font-size: 13px;

        padding: 10px 5px;
    }

    .post-images {
        grid-template-columns: 1fr;
    }

    .post-images img {
        height: 220px;
    }

}

/* =====================================
   CREATE POST
===================================== */

.create-post-page {
    max-width: 850px;
    margin: 0 auto;
    padding-bottom: 40px;
}


.create-post-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
}


/* HEADER */

.create-post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}


.back-button {
    width: 42px;
    height: 42px;

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

    background: #f5f5f3;

    border-radius: 50%;

    color: #333;

    text-decoration: none;

    font-size: 22px;
}


.create-post-header h1 {
    margin: 0;

    font-size: 27px;
}


.create-post-header p {
    margin: 5px 0 0;

    color: #777;
}


/* USER */

.create-user {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 25px 0;
}


.create-avatar {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    overflow: hidden;

    background: #eee;

    display: flex;

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

    font-size: 25px;
}


.create-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.create-user div:last-child {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.create-user span {
    font-size: 13px;

    color: #777;
}


/* FORM */

.form-section {
    margin-top: 25px;
}


.form-label {
    display: block;

    margin-bottom: 10px;

    font-weight: 700;

    font-size: 16px;
}


textarea {
    width: 100%;

    box-sizing: border-box;

    resize: vertical;

    border: 1px solid #ddd;

    border-radius: 16px;

    padding: 15px;

    font-family: inherit;

    font-size: 16px;

    outline: none;
}


textarea:focus {
    border-color: #ff6b22;
}


.character-count {
    text-align: right;

    color: #999;

    font-size: 12px;

    margin-top: 5px;
}


/* POST TYPES */

.post-type-grid {
    display: grid;

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

    gap: 10px;
}


.post-type {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    padding: 15px 8px;

    border: 1px solid #ddd;

    border-radius: 15px;

    cursor: pointer;

    transition: .2s;
}


.post-type input {
    position: absolute;

    opacity: 0;
}


.post-type span {
    font-size: 27px;
}


.post-type strong {
    font-size: 13px;
}


.post-type:hover {
    border-color: #ff6b22;

    background: #fff7f1;
}


.post-type:has(input:checked) {
    border-color: #ff6b22;

    background: #fff0e5;

    color: #f26522;
}


/* LOCATION */

.location-input {
    display: flex;

    align-items: center;

    gap: 10px;

    border: 1px solid #ddd;

    border-radius: 14px;

    padding: 0 15px;
}


.location-input input {
    flex: 1;

    border: 0;

    outline: 0;

    padding: 14px 5px;

    font-size: 15px;
}


/* IMAGE */

.image-upload {
    min-height: 150px;

    border: 2px dashed #ddd;

    border-radius: 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: .2s;
}


.image-upload:hover {
    border-color: #ff6b22;

    background: #fff8f3;
}


.upload-icon {
    font-size: 40px;

    margin-bottom: 8px;
}


.image-upload span {
    color: #888;

    font-size: 13px;

    margin-top: 4px;
}


/* IMAGE PREVIEW */

.image-preview {
    display: grid;

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

    gap: 10px;

    margin-top: 12px;
}


.preview-item {
    height: 150px;

    border-radius: 12px;

    overflow: hidden;

    background: #eee;
}


.preview-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* AI */

.ai-suggestion {
    display: flex;

    gap: 15px;

    margin-top: 25px;

    padding: 18px;

    border-radius: 18px;

    background: #eef7f5;

    border: 1px solid #d5ebe6;
}


.ai-icon {
    font-size: 32px;
}


.ai-suggestion strong {
    color: #0f5a52;
}


.ai-suggestion p {
    margin: 5px 0 0;

    color: #666;

    font-size: 14px;

    line-height: 1.5;
}


/* OPTIONS */

.post-options {
    margin-top: 25px;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;

    padding: 18px 0;

    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.post-options > div {
    display: flex;

    align-items: center;

    gap: 10px;
}


.post-options span {
    color: #777;

    font-size: 14px;
}


/* SWITCH */

.switch {
    position: relative;

    width: 44px;
    height: 24px;
}


.switch input {
    opacity: 0;

    width: 0;
    height: 0;
}


.slider {
    position: absolute;

    inset: 0;

    background: #ccc;

    border-radius: 20px;

    cursor: pointer;

    transition: .2s;
}


.slider:before {
    content: "";

    position: absolute;

    width: 18px;
    height: 18px;

    left: 3px;
    top: 3px;

    background: white;

    border-radius: 50%;

    transition: .2s;
}


.switch input:checked + .slider {
    background: #ff6b22;
}


.switch input:checked + .slider:before {
    transform: translateX(20px);
}


/* BUTTON */

.create-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;
}


.cancel-btn {
    padding: 12px 22px;

    border-radius: 25px;

    background: #f3f3f1;

    color: #555;

    text-decoration: none;
}


.publish-btn {
    border: 0;

    padding: 12px 25px;

    border-radius: 25px;

    background: #ff6b22;

    color: white;

    font-weight: 700;

    cursor: pointer;
}


.publish-btn:hover {
    opacity: .9;
}


.publish-btn:disabled {
    opacity: .6;

    cursor: not-allowed;
}


/* ERROR */

.create-error {
    background: #fff0f0;

    color: #c62828;

    padding: 12px 15px;

    border-radius: 12px;

    margin-bottom: 20px;
}


/* MOBILE */

@media (max-width: 700px) {

    .create-post-page {
        padding: 10px;
    }


    .create-post-card {
        padding: 20px;

        border-radius: 18px;
    }


    .post-type-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .image-preview {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .preview-item {
        height: 130px;
    }


    .post-options {
        flex-direction: column;
    }


    .create-actions {
        flex-direction: column-reverse;
    }


    .cancel-btn,
    .publish-btn {
        width: 100%;

        text-align: center;

        box-sizing: border-box;
    }

}

/* =====================================
   FOODTRIV HOME - BAI 3
===================================== */

.foodtriv-home {
    width: 100%;
}


/* HERO */

.hero-section {
    background: #10564f;

    color: white;

    border-radius: 28px;

    padding: 55px;

    margin-bottom: 22px;
}


.hero-content {
    max-width: 800px;
}


.hero-content small {
    font-size: 14px;

    letter-spacing: .3px;

    opacity: .9;
}


.hero-content h1 {
    font-size: 48px;

    line-height: 1.12;

    margin: 20px 0 15px;
}


.hero-content p {
    font-size: 18px;

    line-height: 1.6;

    max-width: 700px;

    opacity: .9;

    margin-bottom: 25px;
}


/* CREATE POST */

.create-box {
    background: white;

    border-radius: 20px;

    padding: 18px 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}


.avatar {
    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: #eee;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    flex-shrink: 0;
}


.avatar img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.post-input {
    flex: 1;

    background: #f5f5f3;

    border-radius: 25px;

    padding: 15px 20px;

    color: #777;

    text-decoration: none;

    transition: .2s;
}


.post-input:hover {
    background: #eeeeeb;

    color: #f26522;
}


/* FEED TABS */

.feed-tabs {
    display: flex;

    gap: 10px;

    margin: 25px 0 15px;
}


.feed-tabs a {
    padding: 11px 20px;

    border-radius: 25px;

    background: white;

    color: #555;

    text-decoration: none;

    font-weight: 500;
}


.feed-tabs a.active {
    background: #ff6b22;

    color: white;
}


/* FEED TITLE */

.feed-title {
    margin: 25px 0 15px;
}


.feed-title h2 {
    margin: 0;

    font-size: 27px;
}


.feed-title p {
    margin: 5px 0 0;

    color: #777;
}


/* POST */

.social-feed {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.post-card {
    background: white;

    border-radius: 22px;

    padding: 22px;

    overflow: hidden;
}


.post-header {
    display: flex;

    align-items: center;

    gap: 12px;
}


.post-avatar {
    width: 48px;

    height: 48px;

    border-radius: 50%;

    overflow: hidden;

    background: #eee;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}


.post-avatar img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.post-user {
    flex: 1;
}


.post-author {
    color: #222;

    text-decoration: none;

    font-weight: 700;

    font-size: 16px;
}


.post-author:hover {
    color: #f26522;
}


.post-meta {
    color: #888;

    font-size: 13px;

    margin-top: 3px;
}


.post-type-label {
    display: inline-block;

    margin-top: 15px;

    padding: 6px 12px;

    border-radius: 20px;

    background: #fff0e5;

    color: #f26522;

    font-size: 13px;

    font-weight: 600;
}


.post-content {
    margin-top: 15px;

    font-size: 16px;

    line-height: 1.7;

    color: #333;
}


.post-location {
    display: inline-flex;

    gap: 5px;

    align-items: center;

    margin-top: 12px;

    color: #35756e;

    font-size: 14px;
}


/* IMAGES */

.post-images {
    display: grid;

    gap: 8px;

    margin-top: 18px;

    overflow: hidden;

    border-radius: 16px;
}


.post-images.single-image {
    grid-template-columns: 1fr;
}


.post-images.two-images {
    grid-template-columns: repeat(2, 1fr);
}


.post-images.multi-images {
    grid-template-columns: repeat(2, 1fr);
}


.post-image {
    overflow: hidden;

    background: #eee;

    min-height: 180px;
}


.post-images.single-image .post-image {
    max-height: 550px;
}


.post-image img {
    width: 100%;

    height: 100%;

    min-height: 180px;

    object-fit: cover;

    display: block;

    transition: transform .3s;
}


.post-image:hover img {
    transform: scale(1.03);
}


/* STATS */

.post-stats {
    display: flex;

    justify-content: space-between;

    padding: 13px 3px 8px;

    color: #777;

    font-size: 13px;
}


/* ACTIONS */

.post-actions {
    display: flex;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;

    padding: 8px 0;

    gap: 5px;
}


.post-actions button,
.post-action-link {
    flex: 1;

    border: 0;

    background: transparent;

    padding: 10px 5px;

    border-radius: 10px;

    color: #555;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    font-size: 14px;
}


.post-actions button:hover,
.post-action-link:hover {
    background: #f5f5f3;

    color: #f26522;
}


.reaction-btn.active {
    color: #f26522;
}


/* COMMENTS */

.post-comments {
    margin-top: 12px;
}


.comment {
    display: flex;

    gap: 9px;

    margin-top: 8px;
}


.comment-avatar {
    width: 32px;

    height: 32px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #eee;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;
}


.comment-content {
    background: #f5f5f3;

    border-radius: 13px;

    padding: 8px 12px;

    font-size: 14px;

    line-height: 1.4;
}


.comment-content strong {
    display: block;

    margin-bottom: 2px;
}


.no-comments {
    color: #999;

    font-size: 13px;

    padding: 8px 0;
}


/* COMMENT INPUT */

.comment-input-wrapper {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;
}


.comment-input-wrapper .comment-avatar {
    width: 36px;

    height: 36px;
}


.comment-input {
    flex: 1;

    border: 0;

    outline: 0;

    background: #f5f5f3;

    border-radius: 20px;

    padding: 11px 15px;

    font-family: inherit;
}


.comment-submit {
    border: 0;

    background: #ff6b22;

    color: white;

    border-radius: 20px;

    padding: 10px 16px;

    cursor: pointer;
}


.login-comment {
    margin-top: 12px;

    padding: 12px;

    background: #f5f5f3;

    border-radius: 12px;

    text-align: center;
}


.login-comment a {
    color: #f26522;

    text-decoration: none;

    font-weight: 600;
}


/* EMPTY */

.empty-feed {
    background: white;

    border-radius: 22px;

    padding: 60px 25px;

    text-align: center;
}


.empty-feed-icon {
    font-size: 65px;

    margin-bottom: 10px;
}


.empty-feed h2 {
    margin-bottom: 8px;
}


.empty-feed p {
    color: #777;

    margin-bottom: 25px;
}


/* FOOD DISCOVERY */

.food-discovery {
    margin-top: 35px;
}


.food-discovery h2 {
    margin-bottom: 20px;
}


.food-grid {
    display: grid;

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

    gap: 18px;
}


.food-card {
    background: white;

    border-radius: 20px;

    padding: 15px;

    overflow: hidden;
}


.food-image {
    height: 180px;

    background: #ffe2d1;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 65px;
}


.food-card h3 {
    margin: 12px 0 5px;
}


.food-card p {
    margin: 0 0 5px;

    color: #e79a00;
}


.food-card span {
    color: #777;

    font-size: 14px;
}


/* MOBILE */

@media (max-width: 700px) {

    .hero-section {
        padding: 30px 22px;

        border-radius: 20px;
    }


    .hero-content h1 {
        font-size: 32px;
    }


    .hero-content p {
        font-size: 15px;
    }


    .create-box {
        padding: 12px;
    }


    .post-input {
        font-size: 14px;

        padding: 13px 15px;
    }


    .feed-tabs a {
        flex: 1;

        text-align: center;

        font-size: 14px;
    }


    .post-card {
        padding: 15px;

        border-radius: 17px;
    }


    .post-actions button,
    .post-action-link {
        font-size: 12px;
    }


    .post-images.two-images,
    .post-images.multi-images {
        grid-template-columns: 1fr;
    }


    .post-image,
    .post-image img {
        min-height: 220px;
    }


    .food-grid {
        grid-template-columns: 1fr;
    }

}

/* =====================================
   REGISTER PAGE
===================================== */

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

    display: grid;

    grid-template-columns:
        minmax(400px, 520px)
        minmax(350px, 1fr);

    max-width: 1100px;

    margin: 0 auto;

    align-items: center;

    gap: 45px;

    padding: 40px 20px;
}


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

.register-card {
    background: white;

    border-radius: 28px;

    padding: 40px;

    box-shadow:
        0 15px 45px
        rgba(0, 0, 0, .08);
}


/* LOGO */

.register-logo {
    font-size: 34px;

    font-weight: 800;

    margin-bottom: 25px;

    letter-spacing: -1.5px;
}


.logo-food {
    color: #ff6422;
}


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


/* HEADER */

.register-header h1 {
    margin: 0;

    font-size: 32px;

    color: #173c42;
}


.register-header p {
    margin: 8px 0 28px;

    color: #777;

    line-height: 1.6;
}


/* ERRORS */

.register-errors {
    background: #fff0f0;

    border: 1px solid #ffd0d0;

    color: #c62828;

    border-radius: 13px;

    padding: 12px 15px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.6;
}


/* FORM */

.register-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.form-group {
    width: 100%;
}


.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #333;

    font-weight: 600;

    font-size: 14px;
}


/* INPUT */

.input-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;
}


.input-icon {
    position: absolute;

    left: 14px;

    font-size: 17px;

    z-index: 2;
}


.input-wrapper input {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #ddd;

    background: #fafafa;

    border-radius: 13px;

    padding: 13px 45px 13px 44px;

    font-size: 15px;

    font-family: inherit;

    outline: none;

    transition: .2s;
}


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

    border-color: #ff6422;

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


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


/* PASSWORD */

.password-toggle {
    position: absolute;

    right: 10px;

    border: 0;

    background: transparent;

    cursor: pointer;

    font-size: 16px;

    padding: 5px;
}


/* TERMS */

.register-terms {
    margin-top: 2px;

    color: #777;

    font-size: 13px;

    line-height: 1.5;
}


.register-terms label {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    cursor: pointer;
}


.register-terms input {
    margin-top: 3px;

    accent-color: #ff6422;
}


.register-terms a {
    color: #ff6422;

    text-decoration: none;

    font-weight: 600;
}


/* SUBMIT */

.register-submit {
    width: 100%;

    border: 0;

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

    color: white;

    padding: 14px;

    border-radius: 25px;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

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

    transition: .2s;
}


.register-submit:hover {
    transform: translateY(-1px);

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


/* LOGIN */

.register-login {
    text-align: center;

    margin-top: 22px;

    color: #777;

    font-size: 14px;
}


.register-login a {
    color: #ff6422;

    font-weight: 700;

    text-decoration: none;

    margin-left: 5px;
}


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


/* FOOTER */

.register-footer {
    text-align: center;

    color: #aaa;

    font-size: 12px;

    margin-top: 25px;
}


/* =====================================
   RIGHT INTRO
===================================== */

.register-intro {
    min-height: 520px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #0d5049,
            #17675e
        );

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    position: relative;

    overflow: hidden;
}


.register-intro::before {
    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

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

    top: -90px;

    right: -70px;
}


.register-intro::after {
    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background:
        rgba(255, 100, 34, .12);

    bottom: -80px;

    left: -70px;
}


.intro-content {
    position: relative;

    z-index: 2;

    max-width: 430px;
}


.intro-icon {
    width: 70px;

    height: 70px;

    border-radius: 20px;

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

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 38px;

    margin-bottom: 25px;
}


.intro-content h2 {
    font-size: 38px;

    line-height: 1.15;

    margin: 0 0 18px;
}


.intro-content > p {
    font-size: 17px;

    line-height: 1.7;

    opacity: .9;

    margin-bottom: 30px;
}


/* INTRO ITEMS */

.intro-items {
    display: grid;

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

    gap: 12px;
}


.intro-items div {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px;

    border-radius: 14px;

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


.intro-items span {
    font-size: 22px;
}


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

@media (max-width: 850px) {

    .register-page {
        grid-template-columns: 1fr;

        max-width: 550px;

        gap: 20px;

        padding: 25px 15px;
    }


    .register-intro {
        min-height: auto;

        padding: 35px;

        order: -1;
    }


    .intro-content h2 {
        font-size: 30px;
    }


    .intro-content > p {
        font-size: 15px;
    }

}


@media (max-width: 550px) {

    .register-card {
        padding: 25px 20px;

        border-radius: 20px;
    }


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


    .register-header h1 {
        font-size: 27px;
    }


    .register-intro {
        padding: 30px 25px;

        border-radius: 20px;
    }


    .intro-items {
        grid-template-columns: 1fr;
    }


    .intro-content h2 {
        font-size: 27px;
    }

}


.reaction-btn {
    transition: .2s;
}

.reaction-btn.active {
    color: #ff4d4d;
    font-weight: 600;
}

.reaction-btn.active .reaction-icon {
    transform: scale(1.1);
    display: inline-block;
}

.reaction-icon {
    transition: .2s;
}

.reaction-btn {
    transition: .2s;
}

.reaction-btn.active {
    color: #ff4d4d;
    font-weight: 600;
}

.reaction-btn.active .reaction-icon {
    transform: scale(1.1);
    display: inline-block;
}

.reaction-icon {
    transition: .2s;
}

.comment-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comment-content strong {
    font-size: 14px;
}

.comment-content span {
    color: #444;
}

.comment-content small {
    color: #999;
    font-size: 11px;
}

.comment-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.comment-input {
    flex: 1;
    border: 1px solid #ddd;
    outline: none;
    background: #f5f5f3;
    border-radius: 22px;
    padding: 11px 15px;
    font-family: inherit;
}

.comment-input:focus {
    border-color: #ff6422;
    background: white;
}

.comment-submit {
    border: 0;
    background: #ff6422;
    color: white;
    border-radius: 22px;
    padding: 10px 17px;
    cursor: pointer;
}

.comment-submit:hover {
    background: #e95718;
}

.comment-submit:disabled {
    opacity: .6;
    cursor: wait;
}

/* profile css */
.profile-header {
    background: white;

    border-radius: 25px;

    padding: 30px;

    display: flex;

    align-items: center;

    gap: 25px;
}


.profile-avatar {
    width: 110px;

    height: 110px;

    border-radius: 50%;

    overflow: hidden;

    background: #f2f2f2;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 45px;
}


.profile-avatar img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.profile-info {
    flex: 1;
}


.profile-info h1 {
    margin: 0;

    font-size: 28px;
}


.profile-info p {
    margin: 5px 0 15px;

    color: #777;
}


.follow-btn {
    border: 0;

    background: #ff6422;

    color: white;

    padding: 11px 22px;

    border-radius: 25px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}


.follow-btn:hover {
    transform: translateY(-1px);
}


.follow-btn.following {
    background: #10564f;
}


.profile-stats {
    background: white;

    border-radius: 20px;

    margin-top: 15px;

    padding: 20px;

    display: flex;

    justify-content: space-around;

    text-align: center;
}


.profile-stats div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.profile-stats strong {
    font-size: 22px;

    color: #173c42;
}


.profile-stats span {
    color: #777;

    font-size: 13px;
}


@media (max-width: 600px) {

    .profile-header {
        padding: 20px;

        flex-direction: column;

        text-align: center;
    }


    .profile-avatar {
        width: 90px;

        height: 90px;
    }


    .profile-stats {
        padding: 15px 5px;
    }

}

/* notification */
.notification-wrapper {
    position: relative;
}


.notification-button {
    position: relative;

    border: 0;

    background: transparent;

    font-size: 22px;

    cursor: pointer;

    width: 42px;

    height: 42px;

    border-radius: 50%;
}


.notification-button:hover {
    background: #f5f5f3;
}


.notification-badge {
    position: absolute;

    top: 1px;

    right: 0;

    min-width: 18px;

    height: 18px;

    padding: 0 5px;

    border-radius: 20px;

    background: #ff3b30;

    color: white;

    font-size: 11px;

    font-weight: 700;

    display: none;

    align-items: center;

    justify-content: center;
}


.notification-dropdown {
    position: absolute;

    top: 50px;

    right: 0;

    width: 360px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 15px 45px
        rgba(0, 0, 0, .15);

    overflow: hidden;

    display: none;

    z-index: 9999;
}


.notification-dropdown.show {
    display: block;
}


.notification-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 16px;

    border-bottom: 1px solid #eee;
}


.notification-header strong {
    font-size: 17px;
}


.notification-header button {
    border: 0;

    background: transparent;

    color: #ff6422;

    cursor: pointer;

    font-size: 12px;
}


.notification-list {
    max-height: 400px;

    overflow-y: auto;
}


.notification-item {
    display: flex;

    gap: 12px;

    padding: 14px 16px;

    border-bottom: 1px solid #f0f0f0;

    transition: .2s;
}


.notification-item:hover {
    background: #fafafa;
}


.notification-item.unread {
    background: #fff4ee;
}


.notification-icon {
    width: 38px;

    height: 38px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f5f5f3;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;
}


.notification-content {
    flex: 1;

    font-size: 14px;

    line-height: 1.5;
}


.notification-content small {
    display: block;

    margin-top: 4px;

    color: #999;

    font-size: 11px;
}


.notification-empty {
    padding: 45px 20px;

    text-align: center;

    color: #999;

    line-height: 2;
}


@media (max-width: 500px) {

    .notification-dropdown {
        position: fixed;

        top: 65px;

        left: 10px;

        right: 10px;

        width: auto;
    }

}

.save-btn {
    border: 0;

    background: transparent;

    color: #777;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    transition: .2s;
}

.save-btn:hover {
    color: #173c42;
}

.save-btn.active {
    color: #ff6422;

    font-weight: 600;
}

.save-icon {
    font-size: 18px;
}

.saved-page {
    max-width: 1100px;

    margin: 0 auto;

    padding: 30px 20px;
}

.saved-header {
    margin-bottom: 30px;
}

.saved-header small {
    color: #ff6422;

    font-weight: 700;

    letter-spacing: 1px;
}

.saved-header h1 {
    margin: 8px 0;

    font-size: 36px;

    color: #173c42;
}

.saved-header p {
    color: #777;
}


.saved-grid {
    display: grid;

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

    gap: 22px;
}


.saved-card {
    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, .07);

    transition: .25s;
}

.saved-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, .12);
}


.saved-card > img {
    width: 100%;

    height: 210px;

    object-fit: cover;
}


.saved-image-placeholder {
    width: 100%;

    height: 210px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f5f5f3;

    font-size: 65px;
}


.saved-card-content {
    padding: 18px;
}


.saved-author {
    color: #888;

    font-size: 13px;

    margin-bottom: 10px;
}


.saved-card h2 {
    margin: 0 0 10px;

    color: #173c42;

    font-size: 20px;
}


.saved-card p {
    color: #666;

    line-height: 1.6;

    margin-bottom: 15px;
}


.saved-meta {
    display: flex;

    gap: 18px;

    color: #888;

    font-size: 13px;

    margin-bottom: 15px;
}


.saved-view-btn {
    color: #ff6422;

    text-decoration: none;

    font-weight: 600;
}


.empty-saved {
    max-width: 600px;

    margin: 80px auto;

    padding: 50px 30px;

    text-align: center;

    background: white;

    border-radius: 25px;

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, .06);
}


.empty-saved-icon {
    font-size: 60px;

    margin-bottom: 15px;
}


.empty-saved h2 {
    color: #173c42;
}


.empty-saved p {
    color: #777;

    line-height: 1.7;

    margin-bottom: 25px;
}


@media (max-width: 900px) {

    .saved-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .saved-grid {
        grid-template-columns:
            1fr;
    }

    .saved-header h1 {
        font-size: 30px;
    }

}

.post-detail-page {
    max-width: 850px;

    margin: 0 auto;

    padding: 30px 20px;
}


.post-detail {
    background: white;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, .07);
}


.post-detail-header {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 22px 25px;
}


.detail-author-avatar {
    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: #f3f3f1;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;
}


.detail-author-info {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.detail-author-info small {
    color: #999;
}


.post-detail-title {
    padding: 0 25px;

    margin: 10px 0 20px;

    font-size: 34px;

    line-height: 1.2;

    color: #173c42;
}


.post-detail-image {
    width: 100%;
}


.post-detail-image img {
    width: 100%;

    max-height: 600px;

    object-fit: cover;
}


.post-detail-content {
    padding: 25px;

    font-size: 17px;

    line-height: 1.8;

    color: #333;
}


.post-detail-actions {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 15px 25px;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;
}


.detail-action {
    border: 0;

    background: transparent;

    color: #666;

    cursor: pointer;

    text-decoration: none;

    font-size: 14px;
}


.detail-action:hover {
    color: #ff6422;
}


.share-message {
    padding: 0 25px;

    color: #ff6422;

    font-size: 13px;
}


.detail-comments {
    padding: 25px;
}


.detail-comments h2 {
    font-size: 20px;

    color: #173c42;

    margin-bottom: 20px;
}


.detail-comment {
    display: flex;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid #f0f0f0;
}


@media (max-width: 600px) {

    .post-detail-page {
        padding: 10px;
    }


    .post-detail-title {
        font-size: 27px;
    }


    .post-detail-actions {
        gap: 10px;

        flex-wrap: wrap;
    }

}
