/* styles.css */

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* text-align: right; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;        /* Prevent horizontal scrolling */
    font-size: 16px;           /* Ensure readable font size */
}            

.container {
    /* width: 80%; Adjust the width as needed */
    margin: 0 auto; /* Center the container horizontally */
    background-color: #fff; /* Set your desired container background color */
    /* padding: 20px; Adjust the padding as needed */
    padding-bottom: 100px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a box shadow for a visual effect */
    margin-top: 10px; /* Optional: Add margin from the top */
    overflow: auto;
    width: 100%;
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    /* position: fixed; */
    bottom: 0;
    width: 100%;
}

/* Add your custom styles here */
.section {
    margin: 10px;
}

.header {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* table */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 0 solid #ddd;
}

th {
    background-color: #f2f2f2; /* Set background color for header row */
    text-align: center; /* Center align the text in the header */
}

td:nth-child(even) {
    background-color: #f9f9f9; /* Set background color for even columns */
}

td:nth-child(odd) {
    background-color: #ffffff; /* Set background color for odd columns */
}

/* Add your preferred standard button and container styles here */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* height: 100vh; Optional: Set height for vertical centering */
  }

.standard-button {
    padding: 10px 20px;
    font-size: 13px;
    background-color: #e2e7e2; /* Green background color */
    color: rgb(41, 29, 175); /* White text color */
    font-weight: bold;
    border:2px solid #333; /* Remove border */
    border-radius: 4px; /* Add border-radius for rounded corners */
    cursor: pointer; /* Add cursor pointer on hover */
    /* Add box-shadow for a raised effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 5px; /* Optional: Add margin between buttons */
}

/* Add hover effect */
.standard-button:hover {
  background-color: #777a77; /* Darker green color on hover */
}

/* error */
.error {
    color: red;
}

/* Form field alignment */
.form-horizontal .form-row {
    display: flex;
    justify-content: start;
    align-items: center;
    /* margin-bottom: 10px; */
    padding-bottom: 5px;
    font-size: small;
}

.form-horizontal .form-label {
    flex: 0 0 50%; /* Adjust width as needed */
    text-align: right;
    padding-right: 10px; /* Adds some space between the label and the field */
}

.form-horizontal .form-field {
    flex: 1; /* Takes the remaining space */
}

select {
    font-size: small;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
p {
    margin-bottom: 3px;
    margin-top: 3px;
}
.arabic_text {
    color:rgb(0,0,0);
    font-family: Arial, Helvetica, sans-serif;
}

.translated_text {
    color:rgb(0,128,0);
    text-align: right;
}

.summary_title {
    text-align: center;
    font-size:large;
    font-weight: bold;
    color:orange;
}

.summary_head {
    text-align: center;
    font-size: large;
    font-weight: bold;
    color:brown;
}

.summary_data {
    text-align: center;
    font-size:large;
    color:green;
}

.font-small {
    font-size: 20px;
}
.font-smaller {
    font-size: 18px;
}
.font-x-small {
    font-size: 14px;
}
.font-xx-small {
    font-size: 12px;
}
.font-medium {
    font-size: 24px;
}
.font-large {
    font-size: 28px;
}
.font-larger {
    font-size: 32px;
}
.font-x-large {
    font-size: 36px;
}
.font-xx-large {
    font-size: 40px;
}

.search-result {
    text-align: center;
    font-size: small;
    color: violet;
    font-weight: bold;
}

ul {
    padding-inline-start: 0;
}

.border {
    border: 1px solid #ddd; 
    border-radius: 0 0 0 1px;
    padding: 5px;
}

.columns {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.column {
    width: 48%; /* Adjust the width of the columns as needed */
    flex: 1;
    padding: 0;
    min-width: 200px;
}

.ayah-table {
    width: 100%;
    margin-bottom: 10px;
}

.ayah-table .arabic-text {
    width: 96%;
    text-align: right;
}

.ayah-table .ayah-number {
    width: 4%;
    text-align: right;
}

@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }

    .form-label,
    .form-field {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }
}

#goTopButton {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #555; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#goTopButton:hover {
    background-color: #1dcceb; /* Add a dark-grey background on hover */
}

.collapsible-content {
    display: none;
}
.collapsible-content.visible {
    display: block;
}

.highlight {
    background-color: yellow;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    list-style: none;
    padding: 0;
}

.step-links {
    display: inline-block;
    margin-right: 10px;
}

.step-links a {
    text-decoration: none;
    color: #007bff;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.step-links a:hover {
    background-color: #f1f1f1;
    border-color: #ccc;
}

.current {
    font-weight: bold;
    padding: 8px 16px;
    margin-right: 10px;
    color: #fff;
    background-color: #007bff;
    border-radius: 4px;
}

/* PDF Styles */
.pdf-page {
    margin-bottom: 20px;
}
.pdf-page canvas {
    border: 1px solid black;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}
.pdf-controls {
    margin-top: 20px;
}

/* AUDIO */
/* Ensure the audio player is responsive */

/* Styling for "Go to" form container */
.goto-container {
    text-align: center;
    margin: 20px 0;
}

#go-to-ayah-form {
    background-color: #f9f9f9; /* Light background for the form */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#go-to-ayah-form .form-row {
    margin-bottom: 10px;
}

#go-to-ayah-form .form-label {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}

#go-to-ayah-form input[type="number"] {
    width: 100px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#go-to-ayah-form .button-container {
    margin-top: 10px;
}

#go-to-ayah-form .standard-button {
    background-color: #007bff;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#go-to-ayah-form .standard-button:hover {
    background-color: #0056b3;
}

/* Highlighting for the selected ayah */
.ayah .highlight {
    background-color: #ffe082; /* Light yellow highlight color */
    border-radius: 4px;
    padding: 4px;
}

/* Position and style the "Top" button */
#top-button {
    position: fixed;
    bottom: 80px; /* Positioned slightly above the audio player */
    right: 20px;
    z-index: 1000;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#top-button:hover {
    background-color: #0056b3;
}

/* Bottom-fixed audio player container styling */
#audio-player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Dark background for the audio player */
    padding: 10px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

#audio-player-container audio {
    width: 90%; /* Adjust width as needed */
    max-width: 600px;
}

.pay-container {
    width: 300px;
    height: 450px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-content: center;
    /* text-align: center; */
    padding: 20px;
    border-radius: 8px; /* Optional for rounded corners */
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); 
}
