/* ========================================= */
/* TITLE */
/* ========================================= */
h1{
    margin:40px 0 0;
    text-align:center;
    font-size:34px;
    font-weight:700;
    color:#1B5E20;
    text-transform:uppercase;
}
.title-decoration{
    margin:0 0 15px;
    text-align:center;
}
/* ========================================= */
/* NEWS LIST */
/* ========================================= */
.news{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}
.news-list{
    display:grid;
    gap:30px;
}
.news-card{
    display:flex;
    gap:20px;
    padding:15px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    transition:.3s;
}
.news-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 20px rgba(0,0,0,.15);
}
.news-card img{
    width:220px;
    height:140px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
}
/* ========================================= */
/* NEWS CONTENT */
/* ========================================= */
.news-content{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.news-content h2{
    margin:0;
    font-size:25px;
}
.news-content h2 a{
    color:#1B5E20;
    text-decoration:none;
}
.news-content h2 a:hover{
    text-decoration:underline;
}
.news-content time{
    margin:4px 0 8px;
    font-size:14px;
    color:#777;
}
.news-content p{
    margin:0;
    font-size:20px;
    color:#555;
    line-height:1.5;
    text-align:left;
}
.read-more{
    margin-top:10px;
    color:#1B5E20;
    font-size:20px;
    font-weight:bold;
    text-decoration:none;
}
.read-more:hover{
    text-decoration:underline;
}

/* ========================================= */
/* ARTICLE */
/* ========================================= */
.article{
    max-width:1000px;
    margin:40px auto;
    padding:0 20px;
}
/* ========================================= */
/* BREADCRUMB */
/* ========================================= */
.breadcrumb{
    margin-bottom:30px;
    font-size:14px;
}
.breadcrumb a{
    color:#666;
    text-decoration:none;
}
.breadcrumb a:hover{
    color:#1B5E20;
}
.breadcrumb span{
    margin:0 8px;
    color:#999;
}
/* ========================================= */
/* ARTICLE HEADER */
/* ========================================= */
.article-header{
    margin-bottom:40px;
}
.article-title{
    margin:0;
    font-size: 25px;
    font-weight:700;
    color:#1B5E20;
}
.article-date{
    display:block;
    margin-top:15px;
    font-size:15px;
    color:#777;
}
/* ========================================= */
/* ARTICLE INTRO */
/* ========================================= */
.article-intro{
    margin-bottom:60px;
}
.article-cover{
    width:100%;
    margin-bottom:25px;
    border-radius:8px;
}
.article-intro p{
    font-size:18px;
    line-height:1.8;
    text-align:justify;
}
/* ========================================= */
/* ARTICLE SECTION */
/* ========================================= */
.article-section{
    margin-bottom:60px;
}
.article-section h2{
    margin-bottom: 10px;
    font-size:28px;
    color:#1B5E20;
}
.article-section img{
    width:100%;
    margin-bottom:20px;
    border-radius:8px;
}
.article-section p{
    font-size:18px;
    line-height:1.8;
    text-align:justify;
}
.job-detail{
    display:none;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #ddd;
    text-align:left;
}
.job-detail h3{
    margin:20px 0 10px;
    color:#1B5E20;
    text-align:left;
}
.job-detail ul{
    margin:0 0 20px 20px;
    padding:0;
}
.job-detail li{
    margin-bottom:8px;
    text-align:left;
    line-height:1.6;
}
.job-status{
    margin:8px 0 15px;
    font-size:18px;
    color:#666;
}

.status-open{
    display:inline-block;
    margin-left:6px;
    padding:4px 12px;
    background:#e8f7eb;
    color:#1B5E20;
    border:1px solid #2e7d32;
    border-radius:20px;
    font-weight:700;
    font-size:16px;
}

.status-open i{
    font-size:10px;
    margin-right:6px;
    color:#28a745;
}
.status-paused{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:4px 12px;
    border-radius:20px;

    background:#FFF8E1;
    border:1px solid #F9A825;
    color:#A15C00;

    font-weight:bold;
    font-size:16px;
}

.status-paused::before{
    content:"●";
    color:#F9A825;
    font-size:14px;
}

/* ========================================= */
/* RECRUITMENT BOX */
/* ========================================= */
.recruitment-box{
    max-width:900px;
    margin: 40px auto;
    padding:20px;
    text-align:center;
    background:#f8f8f8;
    border:1px solid #ddd;
    border-radius:10px;
}
.recruitment-box h2{
    margin-bottom:20px;
    color:#1B5E20;
    font-size:25px;
}
.recruitment-box p{
    margin-bottom:30px;
    font-size:20px;
    line-height:1.8;
}
#btnApply{
    display:inline-block;
    background:none;
    border:none;
    color:#0b6b2b;
    font-size: 22px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
}
#btnApply:hover{
    text-decoration:underline;
}
/* ===========================
   APPLY FORM
=========================== */
.apply-form{
    display:none;
    margin-top:30px;
    padding:30px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
}
.apply-form.show{
    max-height:1000px;
}
.apply-form h3{
    padding-bottom:0px;
    text-align: center;
    color:#1B5E20;
    margin:0;
}
.apply-form .decor{
    margin:2px 0 20px;
    text-align:center;
    color:#1B5E20;
    line-height:1;
}

.apply-form p{
    margin:0;
}
/*=========================================
    FORM
=========================================*/
.form-section{
    margin-top:15px;
}
.form-section h4{
    margin-bottom:20px;
    font-size:22px;
    padding-bottom:8px;
    text-align: left;
    color:#1B5E20;
}
.form-row{
    display:flex;
    gap:20px;
}
.form-row .form-group{
    flex:1;
}
.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}
.form-group h4{
    margin-bottom:20px;
    font-size:22px;
    padding-bottom:8px;
    text-align: left;
    color:#1B5E20;
}
.document-title{
    display:block;
    margin-top:15px;
    margin-bottom:0px;
    font-weight:bold;
}
.form-group label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
    color:#333;
}
.form-group label span{
    color:#d60000;
}
.form-group input,
.form-group select{
    width:100%;
    padding:10px 12px;
    font-size:16px;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
}
.photo-upload{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:220px;
    height:220px;
    margin:auto;
    overflow:hidden;
    border:2px dashed #1B5E20;
    border-radius:10px;
    background:#f9f9f9;
    cursor:pointer;
    transition:.3s;
}
.photo-upload:hover{
    background:#eef8ef;
}
#photoPreview{
    display:none;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:8px;
}
#photoPlaceholder{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
}
.camera-icon{
    margin-bottom:15px;
    font-size:60px;
}
.photo-text{
    color:#555;
    line-height:1.6;
    text-align:center;
}
.change-photo{
    margin-top:12px;
    text-align:center;
}
#btnChangePhoto{
    padding:8px 18px;
    border:none;
    border-radius:5px;
    background:#1B5E20;
    color:#fff;
    cursor:pointer;
    font-size:14px;
}
#btnChangePhoto:hover{
    background:#2E7D32;
}
/*=========================================
    TÀI LIỆU ĐÍNH KÈM
=========================================*/
.doc-upload{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:10px;
    height:40px;
    border:2px dashed #2e7d32;
    border-radius:8px;
    cursor:pointer;
    transition:0.2s;
}
.doc-upload:hover{
    background:#f7fff7;
    border-color:#1b5e20;
}
.doc-icon{
    font-size:30px;
    line-height:1;
    display:inline-flex;
    align-items:center;
}
.doc-text{
    font-size:17px;
    font-weight:bold;
    color:#444;
    display:inline-flex;
    align-items:center;
}

.document-list{
    margin-top: 0px;
}
.document-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
    padding:10px 15px;
    border-left:4px solid #1B5E20;
    border-radius:6px;
    background:#f5f5f5;
}
.document-name{
    flex:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#333;
}
.remove-document{
    display:flex;
    justify-content:center;
    align-items:center;
    width:24px;
    height:24px;
    margin-left:15px;
    border-radius:50%;
    background:#ffe6e6;
    color:#cc0000;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}
.remove-document:hover{
    background:#ff4d4d;
    color:#fff;
}
/* ==============================
   Textarea
============================== */
textarea{
    width:100%;
    min-height:110px;
    padding:10px 12px;
    font-size:15px;
    font-family:inherit;
    border:1px solid #ccc;
    border-radius:4px;
    resize:vertical;
    box-sizing:border-box;
}
textarea:focus{
    outline:none;
    border-color:#1B5E20;
    box-shadow:0 0 5px rgba(27,94,32,.25);
}
textarea::placeholder{
    color:#999;
}

/* ==========================================
   XÁC NHẬN
========================================== */
.confirm-box{
    margin-top:15px;
}
.confirm-item{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:18px;
    cursor:pointer;
    line-height:1.6;
}
.confirm-item input[type="checkbox"]{
    margin-top:3px;
    transform:scale(1.2);
    cursor:pointer;
}
.confirm-item span{
    flex:1;
    text-align:left;
    color:#333;
    font-size:15px;
}
/* ==========================================
   GỬI HỒ SƠ
========================================== */
.submit-box{
    text-align:center;
    margin:35px 0 20px;
}
.submit-note{
    color:#666;
    font-size:14px;
    margin-bottom:20px;
}
.submit-btn{
    background:#1B5E20;
    color:#fff;
    border:none;
    border-radius:6px;
    padding:14px 40px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}
.submit-btn:hover{
    background:#2E7D32;
}
.submit-btn:disabled{
    background:#bdbdbd;
    cursor:not-allowed;
    opacity:.7;
}

/*=========================================
    MOBILE
=========================================*/
@media (max-width:768px){
    .news{
        padding:0 15px;
    }
    .news-card{
        flex-direction:column;
    }
    .news-card img{
        width:100%;
        height:auto;
    }
    .article{
        padding:0 15px;
    }
    .article-title{
        font-size:30px;
    }
    .article-section h2{
        font-size:24px;
    }
    .article-intro p,
    .article-section p{
        font-size:16px;
    }
    .apply-form{
        padding:20px;
    }
    .form-row{
        display:block;
    }
    .form-row .form-group{
        width:100%;
        margin-bottom:20px;
    }
    .form-group input,
    .form-group select{
        width:100%;
        box-sizing:border-box;
        font-size:16px;
    }
    input[type="date"]{
        -webkit-appearance:none;
        appearance:none;
        display:block;
        width:100% !important;
        min-width:0;
        max-width:100%;
        height:44px;
        padding:10px 12px;
        line-height:22px;
        box-sizing:border-box;
    }
    .photo-upload{
        width:180px;
        height:180px;
    }
    .doc-upload{
        height:100px;
    }
    .document-item{
        padding:10px;
    }
    .document-name{
        font-size:14px;
    }
}
