body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 350px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
}

input, select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    margin-top: 20px;
    padding: 10px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    width: 48%;
}

.submit-btn:hover {
    background-color: #45a049;
}

.cancel-btn {
    background-color: #f44336;
    color: white;
    width: 48%;
}

.cancel-btn:hover {
    background-color: #da190b;
}

.delete-btn {
    background-color: #d32f2f;
    color: white;
    width: 100%;
}

.delete-btn:hover {
    background-color: #b71c1c;
}

.button-group {
    display: flex;
    justify-content: space-between;
}



.partite-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-home {
    background-color: rgb(160, 0, 0);
    color: white;
}

.btn-home:hover {
    background-color: rgb(100, 0, 0);
    transform: translateY(-2px);
}

.btn-add {
    background-color: #4CAF50;
    color: white;
}

.btn-add:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}


.dropzone {
            border: 2px dashed rgb(160, 0, 0);
            border-radius: 1rem;
            padding: 30px;
            text-align: center;
            background-color: #f9f9f9;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .dropzone:hover,
        .dropzone.dragover {
            background-color: #f0f0f0;
            border-color: rgb(100, 0, 0);
        }

        .dropzone p {
            margin: 10px 0;
            color: #666;
            font-size: 14px;
        }

        .file-name {
            margin-top: 15px;
            padding: 10px;
            background-color: #e8f5e9;
            border-radius: 0.5rem;
            color: green;
            display: none;
        }

        .file-name.show {
            display: block;
        }

        #file-input {
            display: none;
        }

        .preview-container {
            margin-top: 20px;
            text-align: center;
        }

        .preview-container img {
            max-width: 200px;
            max-height: 200px;
            border-radius: 0.5rem;
            border: 1px solid #ddd;
        }

        .preview-container.show {
            display: block;
        }