﻿/* Import the Vazirmatn font */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

body {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.upload-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    width: 80%;
    min-height: 40%;
    max-width: 600px;
    text-align: center;
}

    .upload-container h2 {
        color: #0062cc;
        margin-bottom: 20px;
        text-align: justify;
    }

.file-input {
    display: none;
}

.file-names {
    margin-top: 10px;
    font-size: 8px;
    color: #666;
}

.slider-container {
    position: relative;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: flex;
    justify-content: center;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
    transition: all 0.3s ease;
    margin: auto;
}

    .slider img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        margin: 5px;
        border-radius: 5px;
        border: 2px solid #ddd;
    }

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.remove-btn {
    margin-top: 15px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

    .remove-btn:hover {
        background: linear-gradient(135deg, #c82333, #b71c1c);
        transform: translateY(-2px);
    }

.submit-btn {
    margin-top: 20px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
}

    .submit-btn:hover {
        background: linear-gradient(135deg, #218838, #1e7e34);
        transform: translateY(-2px);
    }

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0062cc, #004085);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    .file-label:hover {
        background: linear-gradient(135deg, #004085, #003057);
        transform: translateY(-2px);
    }
