/* Add some style to the button */
.page-title-action + a.page-title-action, .wizard-button {
    color: #fff;
    background: #5839b6;
    border-color: #5839b6;
    padding: 4px 20px;
    font-weight: bolder;
}
.page-title-action + a.page-title-action:hover, .page-title-action + a.page-title-action:active, .wizard-button:hover {
    color: #5839b6;
    background: #ffffff;
    border-color: #5839b6;
    padding: 4px 20px;
}
#create-post-submit {
    display: none;
}
.page-title-action + a.page-title-action svg {
    margin-right: 10px;
    transform: translateY(3px);
    fill: #ffffff;
}
.page-title-action + a.page-title-action:hover svg {
    fill: #5839b6;
}
.page-title-action + a.page-title-action:focus {
    outline: 0;
}

/* Style the overlay */
#post-wizard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
}
/* Style the popup */
#post-wizard-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
    display: none;
}

/* Popup Inner Styling */
#post-wizard-popup {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
}

#post-wizard-form label {
    font-weight: bold;
}

#post-wizard-form input[type="text"], #post-wizard-form input[type="number"], #post-wizard-form textarea {
    padding: 8px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
}

#post-wizard-form input[type="submit"] {
    padding: 4px 20px;
    cursor: pointer;
}

#post-wizard-form .made-by-lightson {
    text-decoration: none;
    display: block;
    text-align: right;
    color: black;
    transform: translateY(12px);
    font-size: 10px;
}

#post-wizard-form .made-by-lightson:focus {
    outline: 0;
    box-shadow: none;
}

#post-wizard-form  .made-by-lightson svg {
    width: 13px;
}

#create-post #final-title, #create-post #api-answer, #create-post #create-post-submit, #create-post .image-upload {
    display: none;
}

#create-post .image-upload + input {
    border: 1px solid #5839b6;
    padding: 10px;
}

#create-post {
    display: none;
}

.pw-error-message {
    display: none;
    text-align: center;
}
.pw-error-message span {
    font-size: 20px;
}

.loading-container {
    display: none;
}
.loading {
    display: flex;
    color: #5839b6;
    font-size: 20px;
    font-weight: bolder;
    align-items: center;
}
.loading div {
    margin-right: 20px;
}
.postwizard-image--container {
    width: 400px;
}
.postwizard-image--container img {
    width: 100%;
}
