#PVD_logo {
    height: 15%;
    width: 15%;
    display: inline-block;
}

#head_tit, #head_subtit {
    width:100%;
    text-align: center;
    margin: unset;
}

#head_tit {
    color: hsl(204, 86%, 53%);
}

#head_subtit {
    font-style: italic;
}

#check_button {
    display: inline-block;
    width:20%;
}

#header, #body, #footer_portal {
    background-color:white;
    padding: 1% 10%;
    background-color:white;
    margin: unset;
}

@media (max-width: 430px) {
  #header, #body, #footer_portal {
    padding: 1% 1%;
  }
  #level {
    display: grid;
  }
}

#footer_portal {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

#sent_button {
    width: 20%;
    font-weight: bold;
}

#nationality {
    height: 40px;
    border-color: #3e8ed0;
}

#answer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: unset;
}

#download_template:hover {
    text-decoration: underline;
}

/* portal_class.css hoặc một file CSS khác của bạn */

#certificate-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#certificate-list th {
    background-color: #f9fafb;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #007bff;
    border-bottom: 1px solid #ddd;
}

#certificate-list th .sub {
    font-weight: normal;
    font-size: 12px;
    color: #666;
}

#certificate-list td {
    border-bottom: 1px solid #eee;
    padding: 6px 10px;
    vertical-align: middle;
    background-color: #fff;
}

#certificate-list tr:last-child td {
    border-bottom: none;
}

#certificate-list input[type="text"] {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
}

#certificate-list input[type="text"]:focus {
    background-color: #fff;
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0,123,255,0.3);
}

#certificate-list tr:hover td {
    background-color: #f5f9ff;
}

#add-line-certificate-btn {
    margin-top: 10px;
    background-color: transparent;
    border: 1px dashed #007bff;
    color: #007bff;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#add-line-certificate-btn:hover {
    background-color: #007bff;
    color: white;
    border-style: solid;
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.3);
}

/* Nút Close (xóa dòng) */
.close-line {
    background: transparent;
    border: none;
    color: #ff4d4f;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    opacity: 0.6;
}

.close-line:hover {
    color: #ff0000;
    opacity: 1;
    transform: scale(1.2);
}