/* ============================================
   Accounting Office Detail Page Styles
   Color Theme: Matching website colors (#50bfda, #e21111)
   ============================================ */

/* Page Container */
.accounting-office-detail {
    position: relative;
    display: block;
    padding: 40px 0 60px;
    background: #fff;
}

/* Office Header Card */
.office-header-card {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.office-banner-slider {
    position: relative;
    height: 425px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.office-banner-slider .slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.office-banner-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.office-banner-slider .slide.active {
    opacity: 1;
}

.office-banner-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.office-banner-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.office-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.office-header-content {
    padding: 0 25px 25px;
    position: relative;
}

.office-logo {
    position: absolute;
    top: -60px;
    left: 25px;
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.office-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.office-header-info {
    padding-top: 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.office-title-section {
    flex: 1;
}

.office-title-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.office-title {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

.office-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #d1fae5;
    color: #059669;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #a7f3d0;
    font-family: "Mitr", sans-serif;
}

/* Office Type Badge */
.office-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    font-family: "Mitr", sans-serif;
}

.office-type-company {
    background: #ede9fe;
    color: #7c3aed;
    border: 1px solid #c4b5fd;
}

.office-type-individual {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

.office-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: "Mitr", sans-serif;
}

.office-meta-info i {
    margin-right: 5px;
}

.office-rating-display {
    color: #ffc107;
}

.office-rating-display i {
    color: #ffc107;
}

.office-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.office-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    color: #495057;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid #e9ecef;
    font-family: "Mitr", sans-serif;
}

.office-action-buttons {
    display: flex;
    gap: 10px;
}

.office-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background: #fff;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-action-btn:hover {
    background: #f8f9fa;
    border-color: #50bfda;
    color: #50bfda;
}

.office-action-btn.liked {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #e21111;
}

/* Share Dropdown */
.share-dropdown-wrapper {
    position: relative;
}

.share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    min-width: 180px;
    padding: 8px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
}

.share-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 14px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.share-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "Mitr", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.share-item:hover {
    background: #f8f9fa;
}

.share-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Facebook */
#share-facebook i {
    color: #1877f2;
}

#share-facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

/* X (Twitter) */
#share-twitter i {
    color: #000;
}

#share-twitter:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

/* Line */
#share-line i {
    color: #00c300;
}

#share-line:hover {
    background: rgba(0, 195, 0, 0.1);
    color: #00c300;
}

/* Copy URL */
#share-url i {
    color: #50bfda;
}

#share-url:hover {
    background: rgba(80, 191, 218, 0.1);
    color: #50bfda;
}

/* Navigation Tabs */
.office-tabs {
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    border-bottom: none;
    padding: 0 15px;
    overflow-x: auto;
}

.office-tabs-nav {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.office-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: "Mitr", sans-serif;
}

.office-tab-btn:hover {
    color: #50bfda;
}

.office-tab-btn.active {
    color: #50bfda;
    border-bottom-color: #50bfda;
}

.office-tab-btn i {
    font-size: 16px;
}

/* Tab Content */
.office-tab-content {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    border-top: none;
    padding: 30px;
    min-height: 400px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Section Title */
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Mitr", sans-serif;
}

.section-title i {
    color: #50bfda;
}

/* Info Box */
.info-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.info-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    font-family: "Mitr", sans-serif;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #495057;
    font-family: "Mitr", sans-serif;
}

.info-list li i {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #495057;
    border-bottom: 1px dashed #e9ecef;
    font-family: "Mitr", sans-serif;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:last-child {
    font-weight: 500;
    color: #212529;
}

.hours-list li.closed span {
    color: #e21111;
}

/* Industry Tags */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.industry-item:hover {
    border-color: #50bfda;
    background: rgba(80, 191, 218, 0.05);
}

.industry-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Industry Icon Colors - 20 รายการ */
.industry-icon.construction { background: #fef3c7; color: #d97706; }      /* รับเหมาก่อสร้าง - fa-hard-hat */
.industry-icon.restaurant { background: #ffedd5; color: #ea580c; }        /* ร้านอาหาร/คาเฟ่ - fa-utensils */
.industry-icon.logistics { background: #e0f2fe; color: #0284c7; }         /* ขนส่ง/โลจิสติกส์ - fa-truck */
.industry-icon.hotel { background: #ede9fe; color: #7c3aed; }             /* โรงแรม/ที่พัก - fa-hotel */
.industry-icon.clinic { background: #fee2e2; color: #dc2626; }            /* คลินิก/สถานพยาบาล - fa-hospital */
.industry-icon.import-export { background: #cffafe; color: #0891b2; }     /* นำเข้า-ส่งออก - fa-ship */
.industry-icon.tech { background: #e0e7ff; color: #4f46e5; }              /* IT/Software - fa-laptop-code */
.industry-icon.spa { background: #fce7f3; color: #db2777; }               /* สปา/ความงาม - fa-spa */
.industry-icon.automotive { background: #f1f5f9; color: #475569; }        /* ซ่อมรถ/อู่รถยนต์ - fa-car */
.industry-icon.factory { background: #f3e8ff; color: #9333ea; }           /* โรงงาน/อุตสาหกรรม - fa-industry */
.industry-icon.retail { background: #dcfce7; color: #16a34a; }            /* ร้านค้าปลีก/ค้าส่ง - fa-store */
.industry-icon.realestate { background: #e0f2fe; color: #0369a1; }        /* อสังหาริมทรัพย์ - fa-building */
.industry-icon.finance { background: #fef9c3; color: #ca8a04; }           /* การเงิน/ประกันภัย - fa-piggy-bank */
.industry-icon.education { background: #e0e7ff; color: #4f46e5; }         /* สถาบันการศึกษา - fa-graduation-cap */
.industry-icon.agriculture { background: #ecfccb; color: #65a30d; }       /* เกษตรกรรม - fa-seedling */
.industry-icon.entertainment { background: #fae8ff; color: #c026d3; }     /* บันเทิง/อีเว้นท์ - fa-music */
.industry-icon.freelance { background: #ccfbf1; color: #0d9488; }         /* ฟรีแลนซ์/บุคคลธรรมดา - fa-user */
.industry-icon.travel { background: #e0f2fe; color: #0284c7; }            /* ท่องเที่ยว/ทัวร์ - fa-plane */
.industry-icon.leasing { background: #d1fae5; color: #059669; }           /* สินเชื่อ/ลิสซิ่ง - fa-hand-holding-usd */



.industry-name {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    font-family: "Mitr", sans-serif;
}

/* Area Tags */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-tag {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
}

.area-tag:hover {
    border-color: #50bfda;
    color: #50bfda;
}

.flag-icon {
    width: 20px;
    height: 15px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Work Type Tags */
.work-type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.work-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(80, 191, 218, 0.08);
    border: 1px solid rgba(80, 191, 218, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #50bfda;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
    cursor: default;
}

.work-type-tag:hover {
    background: rgba(80, 191, 218, 0.15);
    border-color: #50bfda;
}

.work-type-tag i {
    font-size: 14px;
}

/* Contact Person */
.contact-person {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.contact-person-avatar {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.contact-person-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-person-info {
    flex: 1;
}

.contact-person-label {
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 2px 0;
    font-family: "Mitr", sans-serif;
}

.contact-person-name {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 2px 0;
    font-family: "Mitr", sans-serif;
}

.contact-person-role {
    font-size: 13px;
    color: #50bfda;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

/* Service Scope */
.service-scope-grid {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.service-scope-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #495057;
    font-family: "Mitr", sans-serif;
}

.service-scope-item i {
    color: #50bfda;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Service Package Card */
.service-package {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.service-package:hover {
    border-color: #50bfda;
    box-shadow: 0 4px 15px rgba(80, 191, 218, 0.1);
}

.service-package-icon {
    width: 50px;
    height: 50px;
    background: rgba(80, 191, 218, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #50bfda;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-package:hover .service-package-icon {
    background: #50bfda;
    color: #fff;
}

.service-package-content {
    flex: 1;
}

.service-package-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    font-family: "Mitr", sans-serif;
    transition: color 0.3s ease;
}

.service-package:hover .service-package-title {
    color: #50bfda;
}

.service-package-desc {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    font-family: "Mitr", sans-serif;
}

.service-package-price {
    font-size: 13px;
    color: #adb5bd;
    font-family: "Mitr", sans-serif;
}

/* Verification Table */
.verification-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.verification-table thead {
    background: #f8f9fa;
}

.verification-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Mitr", sans-serif;
}

.verification-table th:last-child {
    text-align: right;
}

.verification-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #495057;
    border-top: 1px solid #e9ecef;
    font-family: "Mitr", sans-serif;
}

.verification-table td:last-child {
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.verified {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

/* Review Section */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-count-badge {
    background: rgba(80, 191, 218, 0.1);
    color: #50bfda;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #50bfda;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Mitr", sans-serif;
}

.btn-write-review:hover {
    background: #3da8c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(80, 191, 218, 0.3);
}

/* Review Form */
.review-form-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    display: none;
}

.review-form-container.show {
    display: block;
}

.review-form-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    font-family: "Mitr", sans-serif;
}

.rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.rating-star {
    font-size: 24px;
    color: #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-star:hover,
.rating-star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    font-family: "Mitr", sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #50bfda;
    box-shadow: 0 0 0 3px rgba(80, 191, 218, 0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    padding: 10px 20px;
    background: transparent;
    color: #6c757d;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: "Mitr", sans-serif;
    transition: background 0.3s ease;
}

.btn-cancel:hover {
    background: #e9ecef;
}

.btn-submit-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #50bfda;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
}

.btn-submit-review:hover {
    background: #3da8c4;
}

/* Review Card */
.review-card {
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
}

.review-card:last-child {
    border-bottom: none;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(80, 191, 218, 0.1);
    color: #50bfda;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e9ecef;
}

.review-author-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 3px 0;
    font-family: "Mitr", sans-serif;
}

.review-author-info p {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

.review-date {
    font-size: 12px;
    color: #adb5bd;
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
}

.review-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    padding-left: 60px;
}

.review-rating i {
    font-size: 14px;
    color: #ffc107;
}

.review-rating i.empty {
    color: #e9ecef;
}

.review-text {
    font-size: 14px;
    color: #495057;
    line-height: 1.7;
    padding-left: 60px;
    background: rgba(248, 249, 250, 0.5);
    padding: 15px 15px 15px 60px;
    border-radius: 8px;
    font-family: "Mitr", sans-serif;
}

/* Office Reply in View Page */
.office-reply {
    margin-top: 16px;
    margin-left: 60px;
    padding: 16px;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-radius: 10px;
    border-left: 3px solid #00acc1;
}

.office-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.office-reply-header i {
    color: #00838f;
    font-size: 14px;
}

.office-reply-label {
    font-size: 13px;
    font-weight: 500;
    color: #00838f;
    font-family: "Mitr", sans-serif;
}

.office-reply-date {
    font-size: 12px;
    color: #64748b;
    margin-left: auto;
}

.office-reply-text {
    font-size: 14px;
    color: #0c4a6e;
    margin: 0;
    line-height: 1.6;
    font-family: "Mitr", sans-serif;
}

/* Sidebar Contact Card */
.contact-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.contact-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
    font-family: "Mitr", sans-serif;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: rgba(80, 191, 218, 0.05);
    border-color: rgba(80, 191, 218, 0.3);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
    color: #50bfda;
}

.contact-item.line:hover .contact-item-icon {
    color: #00c300;
}

.contact-item-info p:first-child {
    font-size: 12px;
    color: #adb5bd;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

.contact-item-info p:last-child {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

/* Contact Form */
.contact-form {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.contact-form-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    font-family: "Mitr", sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-title i {
    color: #50bfda;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #50bfda;
    box-shadow: 0 0 0 3px rgba(80, 191, 218, 0.1);
}

.btn-send-message {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #50bfda;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
}

.btn-send-message:hover {
    background: #3da8c4;
    box-shadow: 0 4px 15px rgba(80, 191, 218, 0.3);
}

/* Map Section */
.map-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.map-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Mitr", sans-serif;
}

.map-section-title i {
    color: #50bfda;
}

.map-address {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: "Mitr", sans-serif;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    border: 1px solid #e9ecef;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Related Offices Section */
.related-offices {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.related-offices-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 25px;
    font-family: "Mitr", sans-serif;
}

.related-office-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 20px;
    transition: all 0.3s ease;
}

.related-office-card:hover {
    border-color: #50bfda;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.related-office-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.related-office-logo {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 8px;
}

.related-office-name {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 3px 0;
    font-family: "Mitr", sans-serif;
    transition: color 0.3s ease;
}

.related-office-card:hover .related-office-name {
    color: #50bfda;
}

.related-office-location {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    font-family: "Mitr", sans-serif;
}

.related-office-rating {
    font-size: 12px;
    color: #ffc107;
    margin-bottom: 15px;
}

.related-office-rating span {
    color: #adb5bd;
    margin-left: 5px;
}

.btn-view-detail {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #6c757d;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-family: "Mitr", sans-serif;
    transition: all 0.3s ease;
}

.btn-view-detail:hover {
    background: #f8f9fa;
    color: #50bfda;
    border-color: #50bfda;
}

/* Pagination Buttons (Review) */
.pagination-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background: #fff;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Mitr", sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #50bfda;
    color: #50bfda;
    background: rgba(80, 191, 218, 0.05);
}

.pagination-btn.active {
    background: #50bfda;
    border-color: #50bfda;
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .office-header-info {
        flex-direction: column;
    }

    .office-action-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .contact-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .office-cover-image {
        height: 200px;
    }

    .office-logo {
        width: 90px;
        height: 90px;
        top: -45px;
    }

    .office-header-info {
        padding-top: 55px;
    }

    .office-title {
        font-size: 20px;
    }

    .office-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .office-tab-btn {
        padding: 15px;
        font-size: 13px;
    }

    .office-tab-content {
        padding: 20px;
    }

    .review-text,
    .review-rating {
        padding-left: 0;
    }

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

    /* Verification Table Responsive */
    .verification-table th,
    .verification-table td {
        padding: 12px 15px;
    }

    .verification-table th:last-child,
    .verification-table td:last-child {
        text-align: center;
    }

    .status-badge {
        display: flex;
        justify-content: center;
        white-space: nowrap;
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* ============================================
   Emoji Picker Styles
   ============================================ */
.textarea-with-emoji {
    position: relative;
}

.emoji-picker-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.emoji-picker-btn:hover {
    background: #f1f5f9;
    color: #64748b;
}

.emoji-picker-dropdown {
    position: absolute;
    right: 0;
    bottom: 45px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 100;
    display: none;
    animation: fadeInEmoji 0.2s ease;
}

.emoji-picker-dropdown.show {
    display: block;
}

@keyframes fadeInEmoji {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.emoji-grid span {
    font-size: 22px;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
    transition: background 0.2s;
}

.emoji-grid span:hover {
    background: #f1f5f9;
}

/* Empty State Style */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
    color: #6c757d;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.empty-state:hover {
    background: #fff;
    border-color: #50bfda;
    color: #50bfda;
}

.empty-state-icon {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.empty-state:hover .empty-state-icon {
    color: #50bfda;
    transform: scale(1.1);
}

.empty-state-text {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #495057;
    font-family: "Mitr", sans-serif;
}

.empty-state-subtext {
    font-size: 14px;
    color: #adb5bd;
    margin-top: 8px;
    font-family: "Mitr", sans-serif;
}

/* Fix Summernote Image Overflow */
.about-content img,
.custom-tab-content-area img {
    max-width: 100% !important;
    height: auto !important;
}

/* Template 2 (Modern) and Template 3 (Minimal) styles are in separate files:
   - accounting_office_view_2.css
   - accounting_office_view_3.css
*/
