﻿     /*editable*/
	 
	  .editable {
            cursor: pointer;
            border-bottom: 1px dashed #ccc;
            padding: 2px;
        }
        .editable:hover {
            background-color: #f0f8ff;
        }
        .editing {
 background-color: #5379a3 !important;
    border: 1px solid #4987ce;
        }
		
		
		#notify-message-container {
    position: fixed;
    top: 20px;
    left: 15%;
    z-index: 10000;
    max-width: 400px;
}

/* Link düzenleme ikonu */
.edit-link-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 12px;
    background: #f0f0f0;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    transition: all 0.2s ease;
}

.edit-link-icon:hover {
    background: #007cba;
    color: white;
    transform: scale(1.1);
}

/* Href input alanı */
.edit-href-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #000 !important;
    background: #fff !important;
}

/* Mevcut link düzenleme container'ı */
a.editable.editing {
    display: inline-block;
    /*min-width: 250px;*/
}
.editable-link-wrapper {
    position: relative;
    display: inline-block;
}

.edit-link-icon {
    transition: all 0.2s ease;
}

.edit-link-icon:hover {
    transform: scale(1.1);
}
.editablefoto {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed transparent;
}

.editablefoto:hover {
    border-color: #4e54c8;
    opacity: 0.8;
}

.uploading {
    opacity: 0.7;
    filter: grayscale(50%);
}

#foto-input {
    display: none;
}

.message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease forwards, fadeOut 0.5s ease 7.5s forwards;
    transform: translateX(-100%);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.message.success {
    background-color: #4CAF50;
    color: white;
    border-left: 5px solid #388E3C;
}

.message.error {
    background-color: #F44336;
    color: white;
    border-left: 5px solid #D32F2F;
}

.message i {
    margin-right: 10px;
    font-size: 20px;
}

/* İlerleme çubuğu */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    transform: scaleX(1);
    transform-origin: left;
    animation: progress 3s linear forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes progress {
    to {
        transform: scaleX(0);
    }
}

a.editable {
  /*   pointer-events: none; Link özelliğini devre dışı bırak  
    cursor: text;   İmleci metin imleci yap */
}

/* Düzenleme modunda */
a.editable.editing {
    pointer-events: auto; /* Input için gerekli */
}

.phone-link::before {
    font-family: "fontawesome";
    font-weight: 900;
    content: "\f879"; /* fa-phone-flip unicode */
    margin-right: 8px;
}
.phone-link::after {
    content: attr(data-phone-text);
    /* PHP değişkenini data attribute olarak alır */
}


.email-link::before {
    font-family: "fontawesome";
    font-weight: 900;
    content: "\f0e0";
    margin-right: 8px;
}
.email-link::after {
    content: attr(data-phone-text);
    /* PHP değişkenini data attribute olarak alır */
}



#service {
  scroll-margin-top: 100px;
}
#about {
  scroll-margin-top: 100px;
}#contact {
  scroll-margin-top: 100px;
}

.edit-input {
    color: black !important;
}

textarea.edit-input {
    min-height: 200px  !important;
	height:auto;
	min-width:200px;
	//width:auto;
	overflow-x: auto;
	
}
.whitelist ul li {color:#FFF}

.trumbowyg-editor ul li {color:#000 !important}
.editor-container {
    position: relative;
    width: 100%;
	min-width:300px;
	background: #5379a3;
}


.editor-buttons {
    margin-top: 10px;
    text-align: right;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #ddd;
}

.btn-save, .btn-cancel {
    padding: 8px 16px;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-save {
    background: #007cba;
    color: white;
}

.btn-save:hover {
    background: #005a87;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #545b62;
}

/* Textarea ve editör stilleri */
.edit-input {
    color: #000000 !important; /* Siyah yazı */
    background: #ffffff !important; /* Beyaz arkaplan */
}

/* Trumbowyg editör stilleri */
.trumbowyg-box,
.trumbowyg-editor {
    color: #000000 !important; /* Siyah yazı */
    background: #ffffff !important; /* Beyaz arkaplan */
    border: 1px solid #ccc !important;
}

.trumbowyg-editor {
    min-height: 120px;
    padding: 10px !important;
}

.trumbowyg-editor:focus {
    border-color: #007cba !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2) !important;
}

/* Trumbowyg toolbar */
.trumbowyg-button-pane {
    background: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
}

 
/*
.edit-input {
    color: #ffffff !important;
    background: #1e88e5 !important;
    border: 1px solid #1565c0 !important;
}

.trumbowyg-box,
.trumbowyg-editor {
    color: #ffffff !important;
    background: #1e88e5 !important;
    border: 1px solid #1565c0 !important;
}

.trumbowyg-editor::placeholder {
    color: #e3f2fd !important;
}
*/

.uploading {
    opacity: 0.7;
    pointer-events: none;
}

/* Mesaj stilleri */
#message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
}

.message i {
    margin-right: 10px;
    font-size: 18px;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.5);
    animation: progress 3s linear forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
	
	
	
}



.btn-save:hover, .btn-cancel:hover {
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    .editor-buttons {
        text-align: center !important;
    }
    
    .btn-save, .btn-cancel {
        display: block !important;
        width: 100% !important;
        margin: 5px 0 !important;
    }
}

.trumbowyg-box {
    z-index: 10000 !important;
    position: relative;
}

.trumbowyg-button-pane {
    z-index: 10001 !important;
    position: relative;
}

.trumbowyg-modal-box {
    z-index: 10002 !important;
}

.trumbowyg-fullscreen {
    z-index: 10003 !important;
}

.trumbowyg-dropdown {
    z-index: 10004 !important;
}

/* Eğer modal veya overlay kullanıyorsanız */
.trumbowyg-overlay {
    z-index: 9999 !important;
}

/* Container için de z-index ayarı */
.editable.editing {
    z-index: 10000;
    position: relative;
}

.editor-container {
    z-index: 10000;
    position: relative;
}

.trumbowyg-editor-box, .trumbowyg-textarea {
 
    padding: 20px !important;
 
}
 .trumbowyg-box{
   
    min-height:100px !important;
}
.trumbowyg-box, 
.trumbowyg-editor {
    /*font-size: 14px !important;*/
    line-height: 1.4 !important;
    font-weight: normal !important;
    font-family: Arial, sans-serif !important;
}

.trumbowyg-editor h1,
.trumbowyg-editor h2,
.trumbowyg-editor h3,
.trumbowyg-editor h4,
.trumbowyg-editor h5,
.trumbowyg-editor h6,
.trumbowyg-editor .title {
    font-size: 14px !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.trumbowyg-button-pane {
    z-index: 10001 !important;
}

.trumbowyg-dropdown {
    z-index: 10002 !important;
}

.trumbowyg-modal {
    z-index: 10003 !important;
}

.trumbowyg-editor p {
    color: #000 !important;
}