/* Custom post form */

.post-upload-form-container {
    background-color: #f6f6f6;
    padding: 4rem 0;
}

.tw-upload-form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}
.tw-plugin .custom-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Form labels */
.tw-plugin .custom-form label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

/* Input fields */
.tw-form-control input[type="text"],
.tw-plugin .custom-form input[type="file"],
.tw-form-control textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Rich text editor container */
.tw-plugin .custom-form .editor-container {
    margin-bottom: 20px;
}

/* Focused input styling */
.tw-plugin .custom-form input[type="text"]:focus,
.tw-plugin .custom-form textarea:focus,
.tw-plugin .custom-form input[type="file"]:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
}

/* Textarea styling */
.tw-plugin .custom-form textarea {
    resize: vertical;
}

/* Submit button styling */
.tw-plugin .custom-form input[type="submit"] {
    background-color: #0073e6;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Submit button hover effect */
.tw-plugin .custom-form input[type="submit"]:hover {
    background-color: #005bb5;
}

/* Featured image input file styling */
.tw-plugin .custom-form input[type="file"] {
    padding: 10px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

.hide-element{
    display: none !important;
}
.tw-plugin .tw-success-box > p {
    color: #12af12 !important;
}
.tw-seo {
    font-size: 14px;
    opacity: 0.9;
    color: #333;
}
/* Responsive design */
@media (max-width: 768px) {
    .tw-plugin .custom-form {
        padding: 15px;
    }
    
    .tw-plugin .custom-form input[type="submit"] {
        width: 100%;
        font-size: 18px;
    }
}
.tw-form-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.submit-button {
    background-color: #5F15D4;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    width: 150px !important;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.submit-button button {
    background-color: transparent;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #FFF;
}
.submit-button button:hover {
    background-color: transparent !important;
}
.show {
    display: block;
  }
  .twp-premium-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.twp-premium-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    height: 400px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
.tw-try-premium-banner {
    background: url("../images/premium-bg.png");
    width: 100%;
    height: 100%;
    background-size: cover;
    /* background-position: right center; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.tw-try-banner-text {
    position: absolute;
    padding: 2rem;
    bottom: 5%;
    left: 20px;
    display: flex;
    flex-direction: column;
}
.tw-try-banner-text p {
    font-size: 1.5rem;
    max-width: 400px;
    font-weight: 400;
    color: #292929;
    margin: 0 !important;
}
.tw-premium p {
    margin-bottom: 15px;
}

.tw-premium a {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.tw-premium a:hover {
    text-decoration: underline
}
.twp-premium-close {
    color: #4c4a4a;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
}

.twp-premium-close:hover,
.twp-premium-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
