﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    height: 100vh;
    direction:rtl;
}

.container {
    display: block !important;
    text-align: center;
    
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.box {
    background-color: white;
    width: 450px;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}


h1 {
    color: #1e3c72;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    display:block;
    background-color: #1e3c72;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    transition: 0.3s;
    margin-top: 25px;
}

    .btn:hover {
        background-color: #16325c;
    }

.top {
    color: white;
    text-align: center;
}

.dashboard-boxes {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
}

.card {
    background: #ffffff;
    padding: 25px;
    width: 200px;
    text-align: center;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        background: #f0f8ff;
    }
.input-box {
    width: 100%;
    max-width: 750px;
    height: 55px;
    padding: 0 15px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    outline: none;
    font-size: 16px;
    background-color: white;
    box-sizing: border-box;
}

    .input-box:focus {
        border-color: #3b5ba9;
    }
.dashboard {
    width: 450px;
    margin: 80px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}


    .dashboard h1 {
        color: #3b5ba9;
        margin-bottom: 10px;
    }



.fileUpload {
    width: 100%;
    display:block;
    font-size:large;
    margin: 20px auto;
    text-align:center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
   
}

.modal-content {
    position: relative;
    background: white;
    width: 350px;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 15% auto;
}
    
   
    
    

.option-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 10px;
    background: #4f73c8;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

    .option-btn:hover {
        background: #3559b5;
    }

.cancel-btn {
    margin-top: 20px;
    background: #ddd;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}
.welcome-txt{
    font-size:larger;
}


.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.summary-section {
    margin-top: 20px;
    text-align: center;
}

.summary-box {
    width: 60%;
    height: 380px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    resize: none;
    font-size: 16px;
    background: #f8f9fa;
    overflow-y: auto;
}

.flashcard {
    width: 650px;
    min-height: 320px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 30px;
}

.flash-title {
    color: #1e3c72;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.flash-content {
    font-size: 20px;
    color: #333;
    line-height: 1.8;
    min-height: 100px;
}

.flash-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
   
}

.nav-buttons {
    display: flex;
    justify-content: center;
    
    margin-top: 20px;
}

.nav-btn {
    background-color: #ffffff;
    color: #1e3c72;
    border: 2px solid #1e3c72;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .nav-btn:hover {
        background-color: #1e3c72;
        color: white;
    }