@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');

/* Applying the styleOne pattern to the entire web page */
body {
    background-color: #c0edaa;
    background-image:
        linear-gradient(67.5deg, #c0edaa 10%, transparent 10%),
        linear-gradient(157.5deg, #c0edaa 10%, transparent 10%),
        linear-gradient(67.5deg, transparent 90%, #c0edaa 90%),
        linear-gradient(157.5deg, transparent 90%, #c0edaa 90%),
        linear-gradient(22.5deg, #c0edaa 10%, transparent 10%),
        linear-gradient(112.5deg, #c0edaa 10%, transparent 10%),
        linear-gradient(22.5deg, transparent 90%, #c0edaa 90%),
        linear-gradient(112.5deg, transparent 90%, #c0edaa 90%),
        linear-gradient(22.5deg, transparent 33%, #d5d8dc 33%, #d5d8dc 36%, transparent 36%, transparent 64%, #d5d8dc 64%, #d5d8dc 67%, transparent 67%),
        linear-gradient(-22.5deg, transparent 33%, #d5d8dc 33%, #d5d8dc 36%, transparent 36%, transparent 64%, #d5d8dc 64%, #d5d8dc 67%, transparent 67%),
        linear-gradient(112.5deg, transparent 33%, #d5d8dc 33%, #d5d8dc 36%, transparent 36%, transparent 64%, #d5d8dc 64%, #d5d8dc 67%, transparent 67%),
        linear-gradient(-112.5deg, transparent 33%, #d5d8dc 33%, #d5d8dc 36%, transparent 36%, transparent 64%, #d5d8dc 64%, #d5d8dc 67%, transparent 67%);
    background-size: 250px 250px;
    background-position: 
        -100px 150px, -150px 150px, -150px 100px, -100px 100px,
        -150px 100px, -100px 100px, -100px 150px, -150px 150px,
        0 0, 0 0, 0 0, 0 0;
    font-family: 'Amiri', serif;
    text-align: center;
    padding-top: 50px;
    direction: ltr;
    color: #d5d8dc;
}

body {
    font-family: 'Noto Naskh Arabic', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}
h1 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #333;
}
.instruction {
    margin-bottom: 10px;
    font-size: 18px;
    color: black;
}
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}
textarea {
    width: 300px;
    height: 100px;
    padding: 10px;
    border: 2px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    color: black;
    font-family: 'Noto Naskh Arabic', Arial, sans-serif;
}
.button-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: groove;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.remove-button {
    background-color: #E57373;
}
#combinedNamesContainer {
    margin-top: 30px;
    width: 60%;
    padding: 10px;
    background-color: white;
    border: 2px groove #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    color: black;
    text-align: center;
    font-family: 'Noto Naskh Arabic', Arial, sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.combined-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.box {
    width: 200px;
    padding: 10px;
    background-color: white;
    border: 2px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    color: black;
    text-align: center;
    font-family: 'Traditional Naskh Arabic', Arial, sans-serif;
    position: relative;
}
.form-container {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
label {
    font-size: 16px;
    margin-bottom: 2px;
    color: black;
    text-align: left;
    width: 100%;
}
input[type="text"], select {
    padding: 4px;
    width: 100%;
    font-size: 14px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.scholar-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.scholar-group div {
    flex: 1 1 calc(33% - 10px);
    min-width: 200px;
}
.form-section-title {
    font-size: 24px;
    color: #333;
    margin-top: 20px;
    text-align: center;
}
.form-actions {
    margin-top: 20px;
    text-align: center;
}
