.back-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid black;
    color: black;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    padding: 20px 20px;
    margin-top: 20px;
    overflow: hidden;
    margin-left: 70px;
    margin-bottom: 20px;
}

.back-arrow:hover {
    background-color: transparent;
    color: #0088FF;
    border: 2px solid #0088FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.edit-page {
    max-width: 700px;
    margin: 80px auto;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 12px;
}

.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}


.edit-header img {
    width: 100%;
    height: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
    position: relative;
    margin: 0px auto;
}

.edit-content h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-page h1 {
    text-align: center;
    margin-bottom: 30px;
}

#edit-post-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#edit-post-form input,
#edit-post-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

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

.edit-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.edit-buttons .submit:hover {
    background-color: #0088FF;
    color: white;
    border: 2px solid #0088FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.edit-buttons:hover button:last-child {
    background-color: #cc4444;
    color: white;
    border: 2px solid #cc4444;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.edit-buttons button:first-child {
    background: #6EACDA;
    color: white;
}



#delete-post {
    background: #cc4444;
    color: white;
}

@media (max-width: 600px) {
    .edit-page {
        padding: 20px;
        margin: 20px auto;
    }

    .edit-header img {
        min-height: 200px;

    }

    .edit-content h1 {
        font-size: 24px;
    }

    .edit-content p {
        font-size: 16px;
    }

    #edit-post-form input,
    #edit-post-form textarea {
        font-size: 16px;

    }

    .edit-buttons {
        flex-direction: column;
        align-items: center;
    }

    .edit-buttons button {
        width: 50%;
    }

    .back-arrow-edit {
        margin-left: 20px;
    }
}