/* ============================================
   GO - sub.css
   ============================================ */

#img_mem, #img_cen {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #e63946 0%, #f4721e 40%, #9b59b6 100%);
    display: flex;
    align-items: center;
    padding-left: 5%;
    position: relative;
    overflow: hidden;
}

#img_mem::before, #img_cen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}

#nav_sub {
    width: 220px;
    min-height: 240px;
    margin: 30px 0 30px 0;
    float: left;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 0;
    overflow: hidden;
}

#nav_sub ul li a {
    display: block;
    color: #666;
    padding: 11px 18px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s, padding-left 0.2s, background 0.2s;
}

#nav_sub ul li a:hover {
    color: #e63946;
    background: rgba(230,57,70,0.05);
    padding-left: 26px;
}

#article_sub {
    overflow: hidden;
    margin: 30px 5% 30px 120px;
}

#article_sub h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, #e63946, #f4721e, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

#article_sub p { line-height: 1.9; color: #444; font-size: 15px; }
#article_sub figure figcaption { font-size: 13px; color: #888; }

#article_sub .fieldset_mem {
    border: 1px solid #eee;
    border-top: 3px solid #e63946;
    border-radius: 6px;
    padding: 24px 36px;
    background: #fafafa;
    margin: 24px 0;
}

#article_sub .fieldset_mem legend {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, #e63946, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 10px;
}

#article_sub .fieldset_mem label {
    float: left;
    width: 220px;
    margin: 8px;
    font-size: 14px;
    color: #666;
    line-height: 36px;
}

#article_sub .fieldset_mem input {
    width: 260px;
    margin: 8px;
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

#article_sub .fieldset_mem input:focus { outline: none; border-color: #e63946; }

#buttons_mem { margin: 24px; padding-left: 60px; }

#buttons_mem .submit_mem,
#buttons_mem .cancel_mem {
    font-size: 15px;
    font-weight: 600;
    border: none;
    width: 180px;
    height: 44px;
    border-radius: 24px;
    cursor: pointer;
    transition: opacity 0.2s;
}

#buttons_mem .submit_mem {
    background: linear-gradient(90deg, #e63946, #f4721e, #9b59b6);
    color: #fff;
    margin-right: 12px;
}

#buttons_mem .submit_mem:hover { opacity: 0.85; }

#buttons_mem .cancel_mem { background: #f0f0f0; color: #666; border: 1px solid #ddd; }
#buttons_mem .cancel_mem:hover { background: #e5e5e5; }

#form_login {
    width: 100%;
    max-width: 640px;
    margin: 40px 0;
    background: #fafafa;
    border: 1px solid #eee;
    border-top: 3px solid #e63946;
    border-radius: 6px;
    padding: 36px;
}

#form_login label {
    font-size: 15px;
    color: #666;
    float: left;
    width: 160px;
    margin: 8px;
    line-height: 36px;
}

#form_login input {
    width: 260px;
    margin: 8px;
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    height: 36px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
}

#form_login input:focus { outline: none; border-color: #e63946; }

#table_list { width: 100%; border-collapse: collapse; }

#table_list th {
    background: #f5f5f5;
    color: #444;
    border-bottom: 2px solid #ddd;
    padding: 11px 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

#table_list td {
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 6px;
    font-size: 14px;
    color: #444;
}

#table_list tr:hover td { background: rgba(230,57,70,0.03); }

.subject a { color: #444; }
.subject a:hover { color: #e63946; }

#form_list { float: right; margin-top: 14px; margin-right: 0; }

#form_list select, #form_list input {
    height: 32px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 3px;
    padding: 0 8px;
    font-size: 13px;
}

#page_control { text-align: center; margin-top: 14px; }
#page_control a { color: #888; padding: 5px 10px; border-radius: 3px; font-size: 14px; }
#page_control a:hover { color: #e63946; background: rgba(230,57,70,0.06); }

#buttons { float: right; margin-right: 0; }

#buttons a, #buttons input[type="button"], #buttons input[type="submit"] {
    display: inline-block;
    background: linear-gradient(90deg, #e63946, #f4721e, #9b59b6);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
#buttons a:hover, #buttons input:hover { opacity: 0.85; }

#view_title {
    width: 100%;
    background: #fafafa;
    border: 1px solid #eee;
    border-left: 3px solid #e63946;
    height: 48px;
    line-height: 48px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

#view_title .title1 { float: left; width: 60%; text-align: center; }

#view_content {
    width: 100%;
    border: 1px solid #eee;
    min-height: 360px;
    background: #fff;
    color: #444;
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
}

#view_file a { color: #888; font-size: 13px; }
#view_file a:hover { color: #e63946; }

#article_sub table { width: 100%; }

.td1 {
    width: 130px;
    text-align: center;
    background: #fafafa;
    color: #666;
    height: 38px;
    font-size: 13px;
    border-right: 1px solid #eee;
}

.td2 { height: 38px; }

.td2 input {
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    width: 100%;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 3px;
}

.td2 input:focus { outline: none; border-color: #e63946; }
.line { border-bottom: 1px solid #eee; width: 100%; }

#write_tr3 .td1 { height: 240px; vertical-align: top; padding-top: 12px; }

#write_tr3 textarea {
    height: 240px;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    border-radius: 3px;
}

#write_tr3 textarea:focus { outline: none; border-color: #e63946; }
