/* ============================================
   REHBER YÖNETİM SİSTEMİ - PREMIUM CSS
   Ocean/Sunset Gradient Theme
   ============================================ */

/* Container */
.ogc-guides-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Kartların grid hücrelerine düzgün oturması */
.ogc-guides-container > .ogc-guide-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Mobil: Alt alta */
@media (max-width: 768px) {
    .ogc-guides-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}


/* ============================================
   REHBER KARTI
   ============================================ */

.ogc-guide-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ogc-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* ============================================
   HEADER - Ocean/Sunset Gradient
   ============================================ */

.ogc-card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #c94b4b 50%, #ffd700 100%);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
}

.ogc-photo-section {
    flex-shrink: 0;
}

.ogc-guide-photo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.ogc-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.ogc-info-section {
    flex: 1;
    color: #fff;
}

/* Badge - Altın Sarısı */
.ogc-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.ogc-guide-name {
    margin: 4px 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ogc-meta {
    margin: 2px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Licence No. — slightly smaller, tabular number */
.ogc-licence {
    font-size: 13px;
    opacity: 0.92;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* ============================================
   ACCORDION BUTON
   ============================================ */

.ogc-accordion-toggle {
    width: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ogc-chat-cta {
    display: inline;
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-weight: inherit;
    margin-left: 0;
    animation: ogcCtaPulse 2.5s ease-in-out infinite;
}

@keyframes ogcCtaPulse {
    0%, 100% { opacity: 1; color: inherit; }
    50% { opacity: 0.7; color: #ffe600; }
}

.ogc-accordion-toggle:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: scale(1.02);
    animation: none;
}

.ogc-accordion-toggle.active {
    background: linear-gradient(135deg, #c94b4b 0%, #a83838 100%);
    animation: none;
}

/* ============================================
   ACCORDION CONTENT
   ============================================ */

.ogc-accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.ogc-accordion-content.active {
    max-height: 2000px;
    padding: 20px;
}

/* ============================================
   SEKMELER (TABS)
   ============================================ */

.ogc-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
}

.ogc-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ogc-tab-btn:hover {
    color: #1e3c72;
    background: rgba(30, 60, 114, 0.05);
}

.ogc-tab-btn.active {
    color: #1e3c72;
    border-bottom-color: #1e3c72;
}

.ogc-tab-btn.ogc-chat-tab {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    border-radius: 8px 8px 0 0;
    font-weight: 800;
}

.ogc-tab-btn.ogc-chat-tab:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* ============================================
   TAB CONTENT
   ============================================ */

.ogc-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.ogc-tab-content.active {
    display: block;
}

/* About Me, My Tours, Reviews için scroll */
.ogc-tab-content[data-content="about"],
.ogc-tab-content[data-content="tours"],
.ogc-tab-content[data-content="reviews"] {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scroll bar özelleştirme */
.ogc-tab-content[data-content="about"]::-webkit-scrollbar,
.ogc-tab-content[data-content="tours"]::-webkit-scrollbar,
.ogc-tab-content[data-content="reviews"]::-webkit-scrollbar {
    width: 8px;
}

.ogc-tab-content[data-content="about"]::-webkit-scrollbar-track,
.ogc-tab-content[data-content="tours"]::-webkit-scrollbar-track,
.ogc-tab-content[data-content="reviews"]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.ogc-tab-content[data-content="about"]::-webkit-scrollbar-thumb,
.ogc-tab-content[data-content="tours"]::-webkit-scrollbar-thumb,
.ogc-tab-content[data-content="reviews"]::-webkit-scrollbar-thumb {
    background: #1e3c72;
    border-radius: 4px;
}

.ogc-tab-content[data-content="about"]::-webkit-scrollbar-thumb:hover,
.ogc-tab-content[data-content="tours"]::-webkit-scrollbar-thumb:hover,
.ogc-tab-content[data-content="reviews"]::-webkit-scrollbar-thumb:hover {
    background: #2a5298;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ogc-tab-content p,
.ogc-tab-content li {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

/* ============================================
   REVIEWS
   ============================================ */

.ogc-reviews-section {
    min-height: 150px;
}

.ogc-review-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid #1e3c72;
}

.ogc-review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ogc-review-header strong {
    color: #1e3c72;
    font-weight: 700;
}

.ogc-review-date {
    font-size: 12px;
    color: #999;
}

.ogc-review-text {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

.ogc-no-reviews {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

.ogc-add-review-btn {
    background: #1e3c72;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.ogc-add-review-btn:hover {
    background: #2a5298;
    transform: translateY(-2px);
}

/* Review Form */
.ogc-review-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 16px;
}

.ogc-review-form h4 {
    margin-bottom: 16px;
    color: #1e3c72;
}

.ogc-review-form input,
.ogc-review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
}

.ogc-review-form button[type="submit"] {
    background: #1e3c72;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 8px;
}

.ogc-review-form button[type="button"] {
    background: #999;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================
   CHAT FORM
   ============================================ */

.ogc-chat-form-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 24px;
    border-radius: 12px;
}

.ogc-start-chat-form h4 {
    color: #1e3c72;
    margin-bottom: 16px;
    font-size: 18px;
}

.ogc-start-chat-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    transition: border 0.3s ease;
}

.ogc-start-chat-form input:focus {
    border-color: #1e3c72;
    outline: none;
}

.ogc-phone-group {
    display: flex;
    gap: 10px;
}

.ogc-phone-group input[name="country_code"] {
    flex: 0 0 80px;
}

.ogc-phone-group input[name="phone_number"] {
    flex: 1;
}

.ogc-start-chat-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ogc-start-chat-btn:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* ============================================
   CHAT INTERFACE
   ============================================ */

.ogc-chat-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.ogc-chat-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 700;
}

.ogc-chat-messages {
    min-height: 500px;
    max-height: 500px;
    overflow-y: auto;
    padding: 24px;
    background: #f8f9fa;
}

.ogc-welcome-message {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.ogc-welcome-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.ogc-welcome-highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #7a6319;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.ogc-welcome-info {
    padding: 12px 16px;
    color: #495057;
    font-size: 16px;
}

.ogc-welcome-info p {
    margin: 0 0 8px 0;
    padding: 0;
}

.ogc-welcome-info p:last-child {
    margin-bottom: 0;
}

.ogc-welcome-tip {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.5;
    border-top: 1px solid #c8e6c9;
}

.ogc-message {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.ogc-message.visitor {
    align-items: flex-end;
}

.ogc-message.guide {
    align-items: flex-start;
}

.ogc-message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
}

.ogc-message.visitor .ogc-message-bubble {
    background: #dce8f5;
    color: #333;
    border-bottom-right-radius: 4px;
}

.ogc-message.guide .ogc-message-bubble {
    background: #e9ecef;
    color: #333;
    border-bottom-left-radius: 4px;
}

.ogc-message-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.ogc-chat-input-area {
    padding: 20px 24px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.ogc-chat-input-form {
    display: flex;
    gap: 12px;
}

.ogc-chat-input-form textarea {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-size: 15px;
    line-height: 1.5;
    font-family: inherit;
}

.ogc-chat-input-form button[type="submit"] {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ogc-chat-input-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
}

/* Confirm Button */
.ogc-confirm-btn {
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    text-transform: none;
    letter-spacing: 0.5px;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
    min-height: 50px !important;
    font-size: 16px;
}

.ogc-confirm-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.ogc-confirm-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.ogc-confirm-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    margin-top: 6px;
    font-style: italic;
}

.ogc-template-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ff9800;
    color: #856404;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 8px 15px;
    font-size: 13px;
    line-height: 1.6;
    animation: ogcWarnIn 0.3s ease;
}

.ogc-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}

.ogc-contact-info {
    background: #d1ecf1;
    border: 2px solid #0c5460;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    color: #0c5460;
}

.ogc-contact-info h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.ogc-contact-info p {
    margin: 6px 0;
}

/* ============================================
   DESKTOP - TABS 2x2 GRID
   ============================================ */
.ogc-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    border-bottom: none !important;
}

.ogc-tab-btn {
    border-radius: 8px !important;
    text-align: center !important;
    border-bottom: none !important;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    
    .ogc-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        border-bottom: none !important;
    }
    
    .ogc-guides-container {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 15px;
    }
    
    .ogc-card-header {
        flex-direction: row !important;
        text-align: left !important;
        align-items: flex-start !important;
        padding: 16px 14px !important;
        gap: 14px !important;
    }
    
    .ogc-photo-section {
        flex-shrink: 0 !important;
    }
    
    .ogc-guide-photo,
    .ogc-photo-placeholder {
        width: 110px !important;
        height: 110px !important;
        margin: 0 !important;
    }
    
    .ogc-info-section {
        flex: 1 !important;
        text-align: left !important;
    }
    
    .ogc-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .ogc-guide-name {
        font-size: 21px !important;
        margin: 3px 0 5px 0 !important;
    }
    
    .ogc-meta {
        font-size: 15px !important;
        margin: 2px 0 !important;
    }
    
    .ogc-accordion-toggle {
        font-size: 17px;
        padding: 16px 20px;
        letter-spacing: 0.8px;
    }
    
    .ogc-tab-btn {
        font-size: 18px !important;
        padding: 14px 10px !important;
        border-radius: 8px !important;
        text-align: center !important;
        border-bottom: none !important;
        font-weight: 700 !important;
    }
    
    .ogc-tab-btn.ogc-chat-tab {
        font-size: 15px !important;
        border-radius: 8px !important;
    }
    
    .ogc-tab-content p,
    .ogc-tab-content li,
    .ogc-tab-content div {
        font-size: 16px !important;
        line-height: 1.6;
    }

    .ogc-tab-content strong,
    .ogc-tab-content b {
        font-weight: bold !important;
    }

    .ogc-tab-content em,
    .ogc-tab-content i {
        font-style: italic !important;
    }
    
    .ogc-tab-content[data-content="about"],
    .ogc-tab-content[data-content="tours"],
    .ogc-tab-content[data-content="reviews"] {
        max-height: 200px;
        overflow-y: auto;
        padding-right: 8px;
    }
    
    .ogc-tab-content[data-content="about"]::-webkit-scrollbar,
    .ogc-tab-content[data-content="tours"]::-webkit-scrollbar,
    .ogc-tab-content[data-content="reviews"]::-webkit-scrollbar {
        width: 5px;
    }
    
    .ogc-tab-content[data-content="about"]::-webkit-scrollbar-track,
    .ogc-tab-content[data-content="tours"]::-webkit-scrollbar-track,
    .ogc-tab-content[data-content="reviews"]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .ogc-tab-content[data-content="about"]::-webkit-scrollbar-thumb,
    .ogc-tab-content[data-content="tours"]::-webkit-scrollbar-thumb,
    .ogc-tab-content[data-content="reviews"]::-webkit-scrollbar-thumb {
        background: #1e3c72;
        border-radius: 4px;
    }
    
    .ogc-tab-content[data-content="about"]::-webkit-scrollbar-thumb:hover,
    .ogc-tab-content[data-content="tours"]::-webkit-scrollbar-thumb:hover,
    .ogc-tab-content[data-content="reviews"]::-webkit-scrollbar-thumb:hover {
        background: #2a5298;
    }
    
    .ogc-start-chat-form h4 {
        font-size: 18px !important;
        margin-bottom: 14px;
    }
    
    .ogc-start-chat-form input {
        font-size: 20px !important;
        padding: 16px !important;
        min-height: 56px !important;
        border: 2px solid #ddd !important;
        border-radius: 8px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .ogc-start-chat-form input::placeholder {
        font-size: 16px !important;
        opacity: 0.7 !important;
    }
    
    .ogc-phone-group {
        display: flex !important;
        gap: 10px !important;
    }
    
    .ogc-phone-group input[name="country_code"] {
        flex: 0 0 80px !important;
    }
    
    .ogc-phone-group input[name="phone_number"] {
        flex: 1 !important;
    }
    
    .ogc-start-chat-btn {
        font-size: 18px;
        padding: 18px 20px;
        min-height: 56px !important;
    }
    
    .ogc-chat-messages {
        height: 400px;
    }
    
    .ogc-message-bubble {
        max-width: 80%;
        font-size: 18px !important;
        padding: 14px 18px !important;
        line-height: 1.6 !important;
    }
    
    .ogc-welcome-message {
        font-size: 17px !important;
    }
    
    .ogc-welcome-highlight {
        font-size: 17px !important;
        padding: 14px 16px !important;
    }
    
    .ogc-welcome-header {
        font-size: 19px !important;
    }
    
    .ogc-welcome-info {
        font-size: 17px !important;
        padding: 14px 16px !important;
    }
    
    .ogc-welcome-tip {
        font-size: 16px !important;
    }
    
    .ogc-chat-input-form textarea {
        font-size: 24px !important;
        padding: 16px !important;
        min-height: 120px !important;
        line-height: 1.5 !important;
    }
    
    .ogc-chat-input-form button[type="submit"] {
        font-size: 18px !important;
        padding: 16px 24px !important;
    }
    
    .ogc-confirm-btn {
        font-size: 18px !important;
        padding: 18px 20px !important;
        min-height: 56px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .ogc-confirm-subtitle {
        font-size: 16px !important;
    }
    
    .ogc-review-text {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .ogc-review-header strong {
        font-size: 16px !important;
    }

    .ogc-review-date {
        font-size: 13px !important;
    }

    .ogc-disclaimer {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .ogc-contact-info,
    .ogc-contact-info p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .ogc-review-form input,
    .ogc-review-form textarea {
        font-size: 17px !important;
        padding: 14px !important;
        min-height: 48px !important;
    }
    
    .ogc-add-review-btn {
        width: 100%;
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* ============================================
   ÇOK DİLLİ DESTEK
   ============================================ */

.ogc-tab-btn {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ogc-accordion-toggle {
    white-space: normal !important;
    word-wrap: break-word !important;
}

.ogc-badge {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 180px;
    line-height: 1.3 !important;
    text-align: center !important;
}

.ogc-guide-name {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.ogc-meta {
    word-wrap: break-word !important;
}

/* RTL Diller */
html[lang="ar"] .ogc-tabs,
html[lang="ar"] .ogc-card-header,
html[lang="ar"] .ogc-info-section,
html[lang="ar"] .ogc-tab-content,
html[lang="ar"] .ogc-accordion-content,
html[lang="he"] .ogc-tabs,
html[lang="he"] .ogc-card-header,
html[lang="he"] .ogc-info-section,
html[lang="he"] .ogc-tab-content,
html[lang="he"] .ogc-accordion-content,
html[lang="fa"] .ogc-tabs,
html[lang="fa"] .ogc-card-header,
html[lang="fa"] .ogc-info-section,
html[lang="fa"] .ogc-tab-content,
html[lang="fa"] .ogc-accordion-content {
    direction: rtl !important;
    text-align: right !important;
}

html[lang="ar"] .ogc-card-header,
html[lang="he"] .ogc-card-header,
html[lang="fa"] .ogc-card-header {
    flex-direction: row-reverse !important;
}

/* Asya Dilleri */
html[lang="zh-Hans"] .ogc-guide-name,
html[lang="zh"] .ogc-guide-name,
html[lang="ja"] .ogc-guide-name,
html[lang="ko"] .ogc-guide-name {
    line-height: 1.4 !important;
    letter-spacing: 0.5px !important;
}

/* Badge Mobil */
@media (max-width: 768px) {
    .ogc-badge {
        max-width: 120px !important;
        font-size: 10px !important;
        padding: 5px 8px !important;
        line-height: 1.2 !important;
    }
}

/* Font Desteği */
.ogc-guide-card * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif,
                 "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
                 "Noto Sans CJK SC", "Noto Sans Arabic" !important;
}

/* Accordion İkon */
.ogc-accordion-toggle .ogc-accordion-close {
    display: none;
}

.ogc-accordion-toggle.active .ogc-accordion-open {
    display: none;
}

.ogc-accordion-toggle.active .ogc-accordion-close {
    display: inline;
}

.ogc-accordion-toggle {
    text-align: center !important;
    line-height: 1.4 !important;
}

.ogc-accordion-toggle br + * {
    font-size: 24px;
    display: block;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .ogc-accordion-toggle br + * {
        font-size: 20px;
        margin-top: 3px;
    }
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   VOICE MESSAGE STYLES
   ============================================ */

/* Input butonları yan yana */
.ogc-input-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ogc-send-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ogc-send-btn:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
}

/* Mikrofon butonu */
.ogc-voice-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #1e3c72;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    padding: 0;
    color: #1e3c72;
    align-self: center;
}

.ogc-voice-btn:hover {
    background: #eef3fb;
    transform: scale(1.08);
    border-color: #2a5298;
}

.ogc-voice-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ogc-mic-svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Kayıt çubuğu */
.ogc-voice-recording-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff3f3;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    gap: 12px;
}

.ogc-voice-cancel {
    width: 42px;
    height: 42px;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    transition: background 0.2s;
}

.ogc-voice-cancel:hover {
    background: #c0392b;
}

.ogc-recording-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.ogc-rec-dot {
    width: 14px;
    height: 14px;
    background: #e74c3c;
    border-radius: 50%;
    animation: ogc-pulse 1s ease-in-out infinite;
}

@keyframes ogc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.ogc-rec-timer {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    font-variant-numeric: tabular-nums;
    min-width: 50px;
}

.ogc-voice-send {
    padding: 10px 20px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ogc-voice-send:hover {
    background: #219a52;
}

/* Ses mesajı baloncuğu */
.ogc-voice-message {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ogc-voice-play-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.ogc-message.visitor .ogc-voice-play-icon {
    color: #fff;
}

.ogc-message.guide .ogc-voice-play-icon {
    color: #333;
}

.ogc-voice-message audio {
    max-width: 230px;
    height: 40px;
    border-radius: 20px;
}

/* Mobil voice uyum */
@media (max-width: 768px) {

    .ogc-chat-input-form {
        flex-wrap: wrap;
    }

    .ogc-input-buttons {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .ogc-voice-btn {
        width: 56px;
        height: 56px;
    }

    .ogc-mic-svg {
        width: 26px;
        height: 26px;
    }

    .ogc-send-btn {
        flex: 1;
        font-size: 18px !important;
        padding: 16px 24px !important;
    }

    .ogc-voice-message audio {
        max-width: 190px;
        height: 36px;
    }

    .ogc-voice-recording-bar {
        padding: 10px 12px;
        gap: 8px;
    }

    .ogc-voice-cancel {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .ogc-rec-timer {
        font-size: 22px;
    }

    .ogc-voice-send {
        padding: 12px 20px;
        font-size: 16px;
    }
}


/* Star Rating */
.ogc-star-select span { cursor: pointer; font-size: 1.5rem; color: #b89553; margin-right: 2px; }
.ogc-star-select span:hover { transform: scale(1.2); }
.ogc-rating-summary { margin-bottom: 1rem; font-size: 0.95rem; }
.ogc-rating-summary .ogc-stars-display { color: #b89553; font-size: 1.1rem; margin-right: 4px; }
.ogc-rating-summary .ogc-review-count { color: #888; margin-left: 4px; }
.ogc-stars-inline { color: #b89553; margin: 0 6px; font-size: 0.9rem; }
.ogc-star-rating-input { margin-bottom: 10px; }
.ogc-star-rating-input label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.9rem; }





/* Override: GeneratePress/main.min.css paragraf margin'ini ezer */
.ogc-guide-card .ogc-meta,
.ogc-guide-card p.ogc-meta {
    margin: 2px 0 !important;
    margin-bottom: 2px !important;
    padding: 0 !important;
}

.ogc-guide-card .ogc-licence {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
}

.ogc-guide-card .ogc-guide-name {
    margin: 4px 0 6px 0 !important;
}

.ogc-guide-card .ogc-badge {
    margin-bottom: 4px !important;
}