﻿/* Download Modal Specific Styles */
#downloadModal .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;

}
#downloadModal.modal.fade.show {
    padding-right: 0 !important;
}


#downloadModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

#downloadModal .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e1e4eb;
    background-color: #f8fafc;
}

#downloadModal .modal-title {
    font-size: 18px;
    color: #1a2b3c;
    display: flex;
    align-items: center;
}

#downloadModal .modal-header .btn-close {
    color: #64748b;
    opacity: 1;
}

#downloadModal .modal-header .btn-close:hover {
    color: #1a2b3c;
}

#downloadModal .download-modal-title {
    font-size: 18px;
    color: #1a2b3c;
}

#downloadModal .icon-container {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8fafc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

#downloadModal .icon-container:hover {
    transform: scale(1.1);
}

#downloadModal .header-cat {
    margin-bottom: 10px;
}

#downloadModal .info-span-modal {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

#downloadModal .info-span-modal li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

#downloadModal .info-span-modal li i {
    margin-top: 2px;
    flex-shrink: 0;
}

#downloadModal .download-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    transition: all 0.25s ease;
    text-decoration: none;
    background-color: #fff;
    color: #1a2b3c;
}

#downloadModal .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

#downloadModal .download-btn-title {
    display: block;
    color: #1a2b3c;
    font-size: 14px;
}

#downloadModal .download-btn-subtitle {
    display: block;
    font-size: 12px;
    color: #64748b;
}


/* Modal Footer Styles */
#downloadModal .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #e1e4eb;
    background-color: #f8fafc;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    #downloadModal .modal-dialog {
        margin: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        padding:3px;
    }

    #downloadModal .modal-content {
        height: 100%;
    }
    
    #downloadModal .col-md-6 {
        margin-bottom: 20px;
    }
    
    #downloadModal .border-end {
        border-right: none !important;
        border-bottom: 1px solid #e1e4eb;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* Share Modal Styles */
#shareModal .modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

#shareModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

#shareModal .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e1e4eb;
    background-color: #f8fafc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#shareModal .modal-title {
    font-size: 18px;
    color: #1a2b3c;
}

#shareModal .modal-body {
    padding: 20px;
}

#shareModal h4 {
    font-size: 18px;
    color: #1a2b3c;
    margin-bottom: 20px;
}

#shareModal .share-section {
    margin: 5px 0;
    flex-wrap: wrap;
    gap: 10px;
}

#shareModal .share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 5px;
}

    #shareModal .share-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    }

    #shareModal .share-btn i {
        font-size: 1.2rem;
    }

#shareModal .info-span-modal {
    color: #475569;
    font-size: 14px;
    margin: 15px 0;
}

#shareModal .field {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

#shareModal #linkInputModal {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    padding: 0 10px;
    font-size: 14px;
    color: #1a2b3c;
}

#shareModal .modal-footer {
    border-top: 1px solid #e1e4eb;
    padding: 15px 20px;
    background-color: #f8fafc;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#shareModal .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor:pointer;
}

    #shareModal .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

#shareModal .btn-warning {
    background-color: #FF6F0F;
    border-color: #FF6F0F;
    color: white;
}

    #shareModal .btn-warning:hover {
        background-color: #ff8a3c;
        border-color: #ff8a3c;
    }

#shareModal .btn-danger {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
}

    #shareModal .btn-danger:hover {
        background-color: #dc2626;
        border-color: #dc2626;
    }

/* Responsive Styles */
@media (max-width: 576px) {
    #shareModal .modal-dialog {
        margin: 10px;
        width: auto;
    }

    #shareModal .share-btn {
        width: 40px;
        height: 40px;
        margin: 5px;
    }

    #shareModal .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

        #shareModal .modal-footer .btn {
            width: 100%;
            margin: 5px 0;
        }
}

/* Fix for padding */
#shareModal {
    padding-right: 0 !important;
}

    #shareModal.modal.fade.show {
        padding-right: 0 !important;
    }
	
	
	
	
	
	
	    /* Feedback Modal Styles */
#bookFeedModal .modal-dialog {
    max-width: 650px;
    margin: 1.75rem auto;
}

#bookFeedModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

#bookFeedModal .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e1e4eb;
    background-color: #f8fafc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#bookFeedModal .modal-title {
    font-size: 18px;
    
    color: #1a2b3c;
}

#bookFeedModal .modal-body {
    padding: 20px;
}

#bookFeedModal .feedback-form {
    padding: 10px 0;
}

#bookFeedModal .form-label {
    font-weight: 500;
    color: #1a2b3c;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Custom Select Styling */
#bookFeedModal .custom-select-wrapper {
    position: relative;
}

#bookFeedModal .feedback-subject {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

#bookFeedModal .form-select,
#bookFeedModal .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #1a2b3c;
    height: auto;
}

#bookFeedModal .form-select:focus,
#bookFeedModal .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

#bookFeedModal .form-select:hover {
    border-color: #3b82f6;
}

#bookFeedModal .form-select option {
    padding: 10px;
    font-size: 14px;
}

#bookFeedModal .text-muted {
    color: #64748b !important;
}

#bookFeedModal .modal-footer {
    border-top: 1px solid #e1e4eb;
    padding: 15px 20px;
    background-color: #f8fafc;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
}



/* Fix for padding */
#bookFeedModal {
    padding-right: 0 !important;
}

#bookFeedModal.modal.fade.show {
    padding-right: 0 !important;
}

/* Responsive Styles */
@media (max-width: 576px) {
    #bookFeedModal .modal-dialog {
        margin: 10px;
        width: auto;
    }
    
    #bookFeedModal .modal-footer {
        justify-content: space-between;
        padding: 15px;
    }
    
  
}

/* Çok küçük ekranlar için ek düzenleme */
@media (max-width: 350px) {
    #bookFeedModal .modal-footer .btn-sm-lturk {
        font-size: 12px;
        padding: 8px 6px;
    }
    
    #bookFeedModal .modal-footer .btn-sm-lturk i {
        margin-right: 3px;
        font-size: 12px;
    }
}



.error-report-badge {
    background-color: #ffebee; /* Açık kırmızı arka plan */
    color: #d32f2f; /* Koyu kırmızı yazı rengi */
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(211, 47, 47, 0.2); /* Hafif kırmızı kenarlık */
    transition: all 0.2s ease;
    font-size: 14px;
    cursor:pointer;
}

    .error-report-badge:hover {
        background-color: #ffcdd2; /* Hover'da biraz daha koyu arka plan */
        box-shadow: 0 3px 6px rgba(211, 47, 47, 0.15);
        transform: translateY(-1px);
    }

    .error-report-badge:active {
        transform: translateY(1px);
    }

    .error-report-badge i {
        color: #c62828; /* İkon için daha koyu kırmızı */
        font-size: 15px;
    }

   
   
   /* Atıf Aracı Modal Genel Stiller */
#referMddal .modal-dialog {
    max-width: 700px;
    margin: 1.75rem auto;
}

#referMddal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Header Bölümü */
#referMddal .modal-header {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}



#referMddal .header-buttons {
    display: flex;
    align-items: center;
}



/* Modal Body Bölümü */
#referMddal .modal-body {
    padding: 24px;
    background-color: #ffffff;
}

/* Bilgi Kutusu */
#referMddal .info-span-modal {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

/* Form Elemanları */
#referMddal .form-label {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
}

    #referMddal .form-label i {
        color: #4285f4;
        margin-right: 8px;
    }

#referMddal .citation-select-wrapper {
    position: relative;
    margin-bottom: 16px;
}

#referMddal .form-select {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e1e4e8;
    transition: all 0.2s ease;
    color: #444;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
}

    #referMddal .form-select:focus {
        border-color: #4285f4;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
        outline: none;
    }

    #referMddal .form-select option {
        padding: 10px;
        font-size: 14px;
    }

/* Textarea Stili */
#referMddal .textarea-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#referMddal textarea.form-control {
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #e1e4e8;
    padding: 16px;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #444;
    line-height: 1.6;
    min-height: 200px;
    resize: none;
    font-family: 'Roboto Mono', monospace, sans-serif;
}

    #referMddal textarea.form-control:focus {
        border-color: #4285f4;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
        outline: none;
    }

#referMddal .textarea-container .btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #e1e4e8;
    padding: 6px 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    #referMddal .textarea-container .btn:hover {
        background-color: #fff;
        border-color: #4285f4;
    }

/* Adım 2 Export Bölümü */
#referMddal #step2Export .rounded-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(66, 133, 244, 0.1);
}

/* Dışarı Aktarma Bölümü İçin Ek Stiller */
#referMddal #step2Export .export-info h6 {
    margin-bottom: 10px;
    color: #2c3e50;
}

#referMddal #step2Export .export-icon-wrapper {
    color: #4285f4;
    margin-right: 5px;
}

#referMddal #step2Export .librarycolor {
    color: #4285f4;
}

#referMddal #step2Export .export-select-container {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#referMddal #step2Export .form-label {
    color: #2c3e50;
}

/* Responsive düzenlemeler */
@media (max-width: 767px) {
    #referMddal #step2Export .export-info {
        margin-bottom: 20px;
    }

        #referMddal #step2Export .export-info h6 {
            margin-top: 10px;
        }
}


/* Kitaba Katkıda Bulunanlar Modal Stili */
#writerModal .modal-dialog {
    max-width: 1200px;
    margin: 1.75rem auto;
}

#writerModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#writerModal .modal-header {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#writerModal .modal-title {
    font-size: 20px;
  
    color: #2c3e50;
}

#writerModal .modal-body {
    padding: 20px;
    background-color: #f8f9fa;
}

#writerModal h5 {
    color: #2c3e50;
    font-size: 18px;
}

/* Yazarlar ve Editörler Kartları */
#writerModal .card {
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    border: 1px solid #e1e4e8;
}

    #writerModal .card:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

#writerModal .card-body {
    padding: 15px;
}

#writerModal .border-lr-lbr {
    border-left: 3px solid #4285f4;
}

#writerModal .header-cat {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Başlık Kartı */
#writerModal .card.d-none.d-md-block {
    background-color: #f1f3f5;
    border: none;
}

    #writerModal .card.d-none.d-md-block .header-cat {
       
        color: #2c3e50;
        font-size: 15px;
    }

/* Linkler */
#writerModal a.text-dark {
    color: #2c3e50 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

    #writerModal a.text-dark:hover {
        color: #4285f4 !important;
        text-decoration: underline;
    }





/* Responsive Düzenlemeler */
@media (max-width: 1199px) {
    #writerModal .modal-dialog {
        max-width: 95%;
    }
}

@media (max-width: 991px) {
    #writerModal .modal-dialog {
        max-width: 100%;
        margin: 10px;
    }
}

@media (max-width: 767px) {
    #writerModal .card-body {
        padding: 12px;
    }

    #writerModal .header-cat {
        padding: 5px 0;
        border-bottom: 1px dashed #e1e4e8;
        margin-bottom: 5px;
    }

    #writerModal .card-body .row {
        display: flex;
        flex-direction: column;
    }

    #writerModal .text-center {
        text-align: left !important;
        margin-top: 10px;
    }

    #writerModal .btn-success {
        width: 100%;
        margin-top: 5px;
    }

    #writerModal h5 {
        font-size: 16px;
    }

    #writerModal .modal-title {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    #writerModal .modal-body {
        padding: 15px 10px;
    }

    #writerModal .card-body {
        padding: 10px;
    }

    #writerModal .btn-sm-lturk {
        padding: 6px 12px;
        font-size: 14px;
    }
}