.editorial-submission-form label {
    font-size: 0.8em;
    margin-bottom: 5px;
    display: block;
}

.editorial-submission-form hr {
    border: none;
    border-top: 1px solid #ccc;
    margin-top: 20px !important;
    margin-bottom: 50px !important;
}

.editorial-submission-form .section-title {
    margin-bottom: 0px;
    text-align: center;
}

.editorial-submission-form .subtitle {
    font-size: 0.8em;
    margin-top: 5px;
    text-align: center;
}

.ec-user-posts table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.ec-user-posts th, .ec-user-posts td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.ec-user-posts th {
    background-color: #f4f4f4;
    color: #333;
}

.ec-user-posts tr:nth-child(even) {
    background-color: #f9f9f9;
}

.ec-user-posts tr:hover {
    background-color: #f1f1f1;
}

.ec-user-posts h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.ec-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ec-buttons a  {
    background-color: #000 !important;
    color: #fff !important;
    padding: 10px 20px;
    text-decoration: none !important;
    border-radius: 3px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    margin-right: 10px !important;
    white-space: nowrap !important;
}

.ec-buttons a:last-child {
    margin-right: 0; /* Remove margin for the last button */
}

.ec-buttons a:hover {
    background-color: #333; /* Darker black on hover */
}

@media (max-width: 600px) {
    .ec-buttons a {
        flex-basis: 100%; /* Full width on small screens */
        margin-right: 0; /* Remove right margin */
    }
    .ec-user-posts th, .ec-user-posts td {
        font-size: 14px;
        padding: 6px;
    }
}

.ec-contribution-article {
    margin: 20px 0;
}

.ec-post-content {
    margin-top: 20px; 
    margin-bottom: 0px;
    font-size: 1em; /* Adjust the font size for post content */
}

.ec-post-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between the boxes */
}

.ec-post-meta {
    flex: 1;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.9em; /* Smaller font size for meta details */
}

.ec-post-meta h2 {
    margin-top: 0;
    font-size: 1.1em; /* Slightly smaller heading size */
}

.ec-post-meta p {
    margin: 5px 0;
    line-height: 1.4;
}

.ec-contribution-article p,
.ec-post-content p,
.ec-author-details p,
.ec-publication-details p {
    font-size: 1em; /* Adjust the font size as needed */
}

/* General styling for anchor tags in the contribution article */
.ec-contribution-article a {
    font-size: 0.9em; /* Adjust the font size as needed */
    text-decoration: underline; /* Optional: underline links */
    color: #0073aa; /* Optional: customize link color */
}

.ec-contribution-article a:hover {
    color: #005177; /* Optional: color change on hover */
}

.ec-author-details,
.ec-publication-details {
    /* Specific styles for author and publication details can go here */
}

/* Responsive design */
@media (max-width: 768px) {
    .ec-post-details-container {
        flex-direction: column;
    }
}

.ec-contribution-article .ec-messages ul {
    list-style-type: none;
    padding: 0;
}

.ec-contribution-article .ec-messages ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.ec-contribution-article .ec-messages ul li:last-child {
    border-bottom: none;
}

.ec-contribution-article .ec-message-form {
    margin-top: 20px;
}

.ec-contribution-article .ec-message-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical; /* Allow vertical resize only */
}

.ec_message_content_textarea {
    width:100%;
}

.ec-contribution-article .ec-message-form button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.ec-contribution-article .ec-message-form button:hover {
    background-color: #005177;
}

.ec-message {
    position: relative;
    padding: 10px;
    padding-bottom: 55px !important;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.ec-message p {
    margin: 0;
}

.ec-message .ec-message-date {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 0.8em; /* Smaller font size */
    color: #999; /* Light grey color */
    margin-bottom: 10px !important;
    margin-top: 20px !important;
}

.ec-author-name {
    margin-bottom: 10px !important;
    margin-top: 20px !important;
}

.ec-attachments {
    margin-top: 30px;
    padding: 5px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.ec-attachments h3 {
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.ec-attachments ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ec-attachments ul li {
    margin-bottom: 3px !important;
    font-size: 0.9em !important;
    padding: 5px !important;
}

.ec-form-buttons {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 15px !important;
}

.ec-form-buttons button {
    height: 40px !important;
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important; /* Space between icon and text */
}

.ec-form-buttons button:hover {
    background-color: #333 !important; /* Slightly lighter on hover */
}

#ec-add-file::before {
    content: '+' !important; /* Plus sign as icon */
    font-size: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.ec-file-list {
    display: none; /* Initially hidden */
    margin-top: 10px !important;
    padding: 10px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
}

.ec-file-item {
    margin-bottom: 5px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.9em !important;
}

.ec-file-item button {
    background-color: transparent !important;
    border: none !important;
    color: red !important;
    font-size: 18px !important;
    cursor: pointer !important;
    margin: 2px !important;
}

.ec-save-button {
    background-color: #000 !important; 
    color: #fff !important; 
    padding: 10px 20px !important; 
    text-decoration: none !important; 
    border-radius: 3px !important; 
    text-align: center !important;
    border: none !important; 
    cursor: pointer !important; 
    margin-bottom: 10px !important; 
    margin-right: 10px !important; 
    white-space: nowrap !important; 
    display: inline-block !important; 
    font-size: 16px !important; 
    transition: background-color 0.3s ease !important; 
}

.ec-commission-container {
    margin-top: 20px;
    background-color: #1abc9c;
}

.ec-commission-container-pending {
    margin-top: 20px;
    background-color: #f39c12;
}

.ec-commission-container-declined {
    margin-top: 20px;
    background-color: #e17055;
}

.ec-messages {
    margin-top: 50px;
    border-top: 2px solid #000;
}

.ec-contribution-article h1 {
    font-size: 23px;
}   
    
.ec-article-post-title {
    margin-bottom: 5px;
}

.ec-article-post-date {
    margin-top: 5px;   
}



/* Target the ec-form class specifically */
.ec-form label {
    font-size: 14px; /* Adjust the size as needed */
}

.ec-form input {
	margin-bottom: 0px;
}


/* Style the date picker to make it bigger */
.ec-form input[type="date"] {
    font-size: 16px; /* Increase font size */
    padding: 10px; /* Add padding for a larger clickable area */
    height: auto; /* Ensure the height adjusts properly */
	margin-bottom: 0px;
}

.ec-form p {
    margin-bottom: 0px !important;
}

.ec-form input {
    margin-bottom: 0 !important;
}


.ec-form h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.ec-form hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}
