/*
 * OWS Dashboard - public "Submit Manuscript / Guide for Authors" page.
 */
.ows_sg_page {
    max-width: 980px;
    margin: 0;
}

.ows_sg_breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7f79;
    margin-bottom: 14px;
}

.ows_sg_breadcrumb a {
    color: #17615a;
    text-decoration: none;
}

.ows_sg_breadcrumb_sep {
    color: #b8c7c1;
}

.ows_sg_header {
    margin-bottom: 32px;
}

.ows_sg_title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #0d3b36;
}

.ows_sg_description {
    margin: 0 0 20px;
    max-width: 760px;
    line-height: 1.7;
    color: #435953;
}

.ows_sg_cta_button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d3b36;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.ows_sg_cta_button:hover {
    background: #17615a;
    color: #ffffff;
}

.ows_sg_cta_arrow {
    display: inline-block;
}

/* Step-by-step timeline */
.ows_sg_steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e5eeea;
    border-radius: 10px;
    padding: 28px 24px;
    margin-bottom: 28px;
}

.ows_sg_step {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0 10px;
}

.ows_sg_step_number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #eaf4f0;
    color: #17615a;
    font-weight: 700;
    font-size: 13px;
}

.ows_sg_step_icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    color: #17615a;
}

.ows_sg_step_icon svg {
    width: 100%;
    height: 100%;
}

.ows_sg_step_title {
    font-weight: 700;
    color: #0d3b36;
    margin-bottom: 6px;
    font-size: 14px;
}

.ows_sg_step_description {
    font-size: 12.5px;
    color: #6b7f79;
    line-height: 1.6;
}

.ows_sg_step_connector {
    flex: 0 0 auto;
    width: 60px;
    max-width: 8%;
    height: 1px;
    margin-top: 15px;
    background-image: linear-gradient(to right, #cfe3dc 50%, transparent 0%);
    background-size: 8px 1px;
    background-repeat: repeat-x;
}

/* Two-column cards */
.ows_sg_columns {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 22px;
    align-items: start;
}

.ows_sg_card {
    background: #ffffff;
    border: 1px solid #e5eeea;
    border-radius: 10px;
    padding: 22px 24px;
}

.ows_sg_card_title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #0d3b36;
}

.ows_sg_card_subtitle {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: #6b7f79;
}

/* Templates & forms */
.ows_sg_templates_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ows_sg_template_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5eeea;
    border-radius: 6px;
    text-decoration: none;
    color: #0d3b36;
}

.ows_sg_template_item:hover {
    border-color: #17615a;
    background: #f6faf8;
}

.ows_sg_template_icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #ffffff;
    background: #6b7f79;
}

.ows_sg_template_icon svg {
    width: 16px;
    height: 16px;
}

.ows_sg_template_icon--word {
    background: #2952a3;
}

.ows_sg_template_icon--latex {
    background: #2f2f2f;
}

.ows_sg_template_icon--pdf {
    background: #b3261e;
}

.ows_sg_template_icon--shield {
    background: #17615a;
}

.ows_sg_template_icon_text {
    font-size: 10px;
    font-weight: 700;
}

.ows_sg_template_label {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ows_sg_template_download_icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #6b7f79;
}

.ows_sg_template_download_icon svg {
    width: 100%;
    height: 100%;
}

.ows_sg_empty_hint {
    color: #6b7f79;
    font-size: 13px;
}

/* Before you submit */
.ows_sg_checklist {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.ows_sg_checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #37473f;
    line-height: 1.6;
}

.ows_sg_check_icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #17615a;
}

.ows_sg_check_icon svg {
    width: 100%;
    height: 100%;
}

.ows_sg_note {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: #f6faf8;
    border: 1px solid #e5eeea;
    border-radius: 6px;
}

.ows_sg_note_icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #17615a;
}

.ows_sg_note_icon svg {
    width: 100%;
    height: 100%;
}

.ows_sg_note p {
    margin: 0;
    font-size: 12.5px;
    color: #37473f;
    line-height: 1.6;
}

.ows_sg_note a {
    color: #17615a;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .ows_sg_steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .ows_sg_step {
        flex: 1 1 40%;
    }

    .ows_sg_step_connector {
        display: none;
    }

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

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