/* ===================================
   Submit Manuscript Page Styles
   =================================== */

/* Page Banner Section */
.page-banner-section {
    position: relative;
    overflow: hidden;
}

.page-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.page-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Features and Quick Links Section */
.features-quicklinks-section {
    position: relative;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 2px;
}

.features-box,
.quicklinks-box {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 20px;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 10px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #fff;
}

.feature-icon i {
    font-size: 24px;
    color: #fff;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: #10b981;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-text {
    color: #fff;
}

/* Quick Links Grid */
.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quicklink-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-height: 140px;
}

.quicklink-card:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.quicklink-card.active {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-color: transparent;
}

.quicklink-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.quicklink-card:hover .quicklink-icon,
.quicklink-card.active .quicklink-icon {
    background: rgba(255, 255, 255, 0.2);
}

.quicklink-icon i {
    font-size: 28px;
    color: #10b981;
    transition: all 0.3s ease;
}

.quicklink-card:hover .quicklink-icon i,
.quicklink-card.active .quicklink-icon i {
    color: #fff;
}

.quicklink-text {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    transition: all 0.3s ease;
}

.quicklink-card:hover .quicklink-text,
.quicklink-card.active .quicklink-text {
    color: #fff;
}

/* Instructions Modal */
.instructions-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content-wrapper {
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header-custom {
    padding: 30px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header-custom h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.modal-header-custom h2 i {
    margin-right: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

.modal-body-custom {
    padding: 40px;
}

.instruction-section {
    margin-bottom: 30px;
}

.instruction-section:last-child {
    margin-bottom: 0;
}

.instruction-section h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.instruction-section h4 i {
    color: #10b981;
    margin-right: 10px;
}

.instruction-section p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 15px;
}

.instruction-list {
    list-style: none;
    padding-left: 0;
}

.instruction-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #7f8c8d;
    line-height: 1.6;
}

.instruction-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* Form Section */
.submit-form-section {
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title-main {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 17px;
    color: #7f8c8d;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Form Wrapper */
.form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.manuscript-form {
    position: relative;
}

/* Flash Messages */
.flash-msg {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    font-weight: 500;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.flash-msg.hide {
    opacity: 0;
}

.flash-msg i {
    margin-right: 10px;
    font-size: 18px;
}

.flash-msg.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.flash-msg.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form Sections */
.form-section {
    margin-bottom: 45px;
    padding-bottom: 45px;
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header-form {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 10px;
    margin-right: 15px;
}

.section-icon i {
    font-size: 24px;
    color: #fff;
}

.section-title-form {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Form Groups */
.form-group-custom {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-control-custom {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
    color: #2c3e50;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control-custom:focus {
    outline: none;
    border-color: #10b981;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control-custom::placeholder {
    color: #95a5a6;
}

select.form-control-custom {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%232c3e50' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 100px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    border-color: #10b981;
    background: #fff;
}

.file-label i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
}

.file-text {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.form-note {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #7f8c8d;
}

.form-note i {
    margin-right: 5px;
}

.form-note .text-danger {
    color: #e74c3c;
    font-weight: 600;
}

/* Error Messages */
.error-message {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fee;
    border-left: 3px solid #e74c3c;
    border-radius: 4px;
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
}

.error-message i {
    margin-right: 6px;
}

/* Submit Button */
.btn-submit-manuscript {
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-manuscript:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit-manuscript:active {
    transform: translateY(-1px);
}

.btn-submit-manuscript i {
    margin-right: 10px;
}

.submit-note {
    margin-top: 20px;
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
}

/* Documentation Section */
.process-section {
    position: relative;
}

.documentation-card {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.doc-section {
    margin-bottom: 40px;
}

.doc-section:last-child {
    margin-bottom: 0;
}

.doc-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.doc-title i {
    color: #10b981;
    margin-right: 10px;
}

.doc-section p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 15px;
}

.field-group {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.field-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.field-item {
    margin-bottom: 20px;
}

.field-item:last-child {
    margin-bottom: 0;
}

.field-item strong {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.field-item strong i {
    color: #10b981;
    margin-right: 8px;
}

.field-item ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0 0;
}

.field-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #7f8c8d;
    line-height: 1.6;
}

.field-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* Note Section */
.note-section {
    position: relative;
}

.note-card {
    display: flex;
    align-items: flex-start;
    padding: 40px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0cc 100%);
    border-left: 5px solid #f39c12;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.note-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    margin-right: 25px;
    flex-shrink: 0;
}

.note-icon-wrapper i {
    font-size: 28px;
    color: #f39c12;
}

.note-content-wrapper {
    flex: 1;
}

.note-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.note-content-wrapper p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 10px;
}

.note-footer {
    margin-top: 20px;
}

.note-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    color: #10b981;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.note-link:hover {
    background: #10b981;
    color: #fff;
    transform: translateX(5px);
}

.note-link i {
    margin-right: 8px;
}

form#editorial-form .avatar-placeholder img {
    height: 70px;
    width: 70px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .page-title {
        font-size: 42px;
    }

    .section-title-main {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .page-title {
        font-size: 36px;
    }

    .section-title-main {
        font-size: 34px;
    }

    .form-wrapper {
        padding: 40px 30px;
    }

    .documentation-card {
        padding: 40px 30px;
    }

    .features-box,
    .quicklinks-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .page-banner-section {
        padding: 60px 0 40px !important;
    }

    .page-title {
        font-size: 30px;
    }

    .page-description {
        font-size: 16px;
    }

    .section-title-main {
        font-size: 28px;
    }

    .section-intro {
        font-size: 16px;
    }

    .quicklinks-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .documentation-card {
        padding: 30px 20px;
    }

    .section-header-form {
        flex-direction: column;
        text-align: center;
    }

    .section-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .section-title-form {
        font-size: 22px;
    }

    .doc-title {
        font-size: 24px;
    }

    .field-group {
        padding: 20px 15px;
    }

    .note-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .note-icon-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .modal-content-wrapper {
        width: 95%;
        margin: 10% auto;
    }

    .modal-header-custom,
    .modal-body-custom {
        padding: 25px 20px;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 26px;
    }

    .section-title-main {
        font-size: 24px;
    }

    .features-box,
    .quicklinks-box {
        padding: 25px 20px;
    }

    .form-wrapper {
        padding: 25px 15px;
    }

    .btn-submit-manuscript {
        width: 100%;
        padding: 14px 30px;
    }
}