@font-face {
    font-family: 'UthmanTaha';
    src: url('../fonts/Uthman-TN-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AlviNastaleeqRegular';
    src: url('../fonts/Alvi-Nastaleeq-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.verses-modal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.verses-modal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.verses-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.verses-modal .modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.verses-modal .verse-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.verses-modal .verse-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.verses-modal .verse-header {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.verses-modal .verse-header i {
    color: #3498db;
}

.verses-modal .arabic-text {
    font-family: 'UthmanTaha', 'Amiri', serif;
    font-size: 1.8rem;
    line-height: 2.5;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.verses-modal .translation-text {
    font-family: 'AlviNastaleeqRegular','Amiri', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #495057;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.verses-modal #pagination-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.verses-modal #pagination-controls button {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.verses-modal #pagination-controls button:hover {
    transform: translateY(-1px);
}

.verses-modal .loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* RTL Support */
.verses-modal [dir="rtl"] .verse-item {
    text-align: right;
}

.verses-modal [dir="rtl"] .arabic-text {
    font-family: 'UthmanTaha','Amiri', serif;
}

/* Scrollbar Styling */
.verses-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.verses-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.verses-modal .modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.verses-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.verses-modal .share-buttons {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.verses-modal .verse-item:hover .share-buttons {
    opacity: 1;
}

.verses-modal .share-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.verses-modal .share-button:hover {
    transform: scale(1.1);
}

.verses-modal .share-button.twitter {
    background-color: #1DA1F2;
}

.verses-modal .share-button.facebook {
    background-color: #4267B2;
}

.verses-modal .share-button.whatsapp {
    background-color: #25D366;
}

.verses-modal .share-button.linkedin {
    background-color: #0077B5;
}

.verses-modal .share-button.telegram {
    background-color: #0088cc;
}

.verses-modal .share-button.copy {
    background-color: #6c757d;
}

.verses-modal .share-button i {
    font-size: 1rem;
}

/* RTL Support for share buttons */
.verses-modal [dir="rtl"] .share-buttons {
    right: auto;
    left: 1rem;
}

/* Toast notification for copy */
.copy-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    z-index: 9999;
    display: none;
}

.copy-toast.show {
    display: block;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* RTL Support for toast */
[dir="rtl"] .copy-toast {
    right: auto;
    left: 20px;
} 