* {
    box-sizing: border-box;
    font-family: SC Prosper Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif;
}

main {
    margin: 60px auto;
    max-width: 1200px;
}

.main-content {
    max-width: 1200px;
}

.main-content-user {
    background-color: rgb(225, 236, 247, 0.5);
    max-width: 1000px;
}

/* ナビゲーションバー */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-top: 8px solid #191e23;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 72px;
}

.navbar-container-user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    height: 72px;
}


.application {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.application h3 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 5.5rem;
    padding: 44px 0 22px;
    display: inline-table;
    position: relative;
    letter-spacing: 0.5px;
}

.application h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    display: inline-block;
    width: 80%;
    height: 4px;
    transform: translateX(-50%);
    background-color: #206b8b;
    border-radius: 2px;
}

/* ロゴセクション */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #206b8b;
}

/* ナビゲーションリンク */
.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: #525355;
    font-size: 14px;
    padding: 8px 12px;
    transition: all 0.3s;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    border-bottom: 2px solid #206b8b;
    color: #206b8b;
}

.nav-link.active {
    color: #206b8b;
    border-bottom: 2px solid #206b8b;
}

/* 個人セクション */

.notification-icon {
    font-size: 20px;
    color: #4a5568;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #206b8b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.dropdown-arrow {
    font-size: 12px;
    color: #4a5568;
}

/* ドロップダウンメニュー */
.dropdown-menu {
    position: absolute;
    top: 100%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 200px;
    display: none;
    z-index: 1001;
    margin-top: 10px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f5f7fa;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

/* 表格 */
.table {
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    display: block;
    word-break: keep-all;
}

th {
    font-weight: 600;
    color: #495057;
}

tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e7e7e7;
}

tbody tr:last-child {
    border-bottom: none;
}

.table-responsive {
    border-radius: 8px;
    margin-top: 22px;
}

.table-responsive thead th {
    font-size: 1.6rem;
    background: #f5f5f5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
    border: none;
    width: 4%;
    text-align: left;
    white-space: nowrap;
}

.table-responsive tbody .text-center {
    text-align: center;
}

.table-responsive tbody td {
    font-size: 1.6rem;
    padding: 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.table tbody tr:hover {
    background-color: rgb(225, 236, 247, 0.5);
}

.table-hover .finish,
.table-hover .cancel,
.table-hover .refuse,
.table-hover .afoot {
    padding: 4px 14px;
    min-width: 110px;
    display: block;
}

/* 表格 */
/* モバイル対応 */

@media (max-width: 768px) {
    .logo-image {
        height: 30px;
        z-index: 9991;
    }

    .dropdown-menu {
        right: 0px;
    }

    .user-profile {
        padding: 0 5px;
    }

    .mobile-toggle {
        display: block !important;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .footer-list li {
        padding-right: 20px;
    }

    .footer-list span {
        font-size: 11px;
    }

    .footer-column ul li {
        font-size: 12px;
    }

    .auth-form .form-group {
        display: block;
    }

    .auth-form .checkbox-container {
        display: block;
    }

    .auth-form .checkbox-container .forget {
        margin-top: 10px;
    }

    .wap {
        width: 100% !important;
    }

    .horizontal-group {
        width: 100% !important;
    }

    .flex-direction {
        display: flex;
        flex-direction: column;
    }

    .splice {
        gap: 12px;
        flex-direction: column;
        width: 100% !important;
    }

    .form-group h3,
    .form-group1 h3 {
        text-wrap-style: auto !important;
    }

}

/* ページコンテンツ */
.submit-button {
    background: #206b8b;
    border-color: #206b8b;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.8rem;
    border-radius: 40px;
    cursor: pointer;
    width: 100%;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background 0.3s;
    margin-top: 10px;
}

.submit-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    z-index: -1;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2a8bb5, #1a5a75);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(32, 107, 139, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(32, 107, 139, 0.3);
}


.submit-button:focus-visible {
    color: white;
}

.borrower-detail,
.loan-org-detail {
    background-color: #f0f7ff;
    padding: 3px 8px;
    border-radius: 4px;
    color: #206b8b;
}

.checkbox-container {
    margin-top: 20px;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
}

.checkbox-input {
    display: none;
    /* 隐藏默认的复选框 */
}

.checkbox-text {
    font-size: 1.6rem;
}

.terms-link:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .checkbox-container {
        margin-top: 0px;
    }

    .checkbox-text {
        font-size: 13px;
    }

    .checkmark {
        width: 14px;
        height: 14px;
        margin-right: 10px;
    }
}


/* 导航栏用户区域 */
.navbar-user {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
}


/* 登录和注册按钮样式 */
.nav-button {
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    display: flex;
    align-items: center;
    min-width: 128px;
    justify-content: center;
}


.nav-button.secondary-button {
    background: #206b8b;
    color: #ffffff;
}

.nav-button.secondary-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.nav-button.orange-button {
    background: linear-gradient(270deg, #ff5c00 0%, #ef860a 75%);
    color: #ffffff;
    box-shadow: 0 2px 4px 0 rgba(239, 134, 10, 0.3019607843);
}

.nav-button.green-button {
    background: linear-gradient(270deg, #1dad15 0%, #2dc957 75%);
    color: #ffffff;
    box-shadow: 0 2px 4px 0 rgba(13, 255, 0, 0.3019607843);
}

.nav-button.deepblue-button {
    background: #206b8b;
    color: #fffffF;
    box-shadow: 0 2px 8px rgba(41, 75, 111, 0.3);
}


/* 移动端用户菜单样式 */
.mobile-user-menu {
    position: relative;
    display: none;
}

.mobile-avatar img {
    width: 24px;
    height: 24px;
}

.mobile-dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 200px;
    z-index: 1000;
    display: none;
    animation: slideDown 0.3s ease;
}

.mobile-dropdown-menu.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-user-info {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-user-menu-items {
    padding: 10px 0;
}

.mobile-menu-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.mobile-menu-item:hover {
    background-color: #f5f5f5;
}

/* 响应式显示控制 */
@media (max-width: 768px) {
    .mobile-user-menu {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }
    .sequence {
        flex-direction: column;
    }

    .sequence .form-control {
        margin-left: 0px;
    }
}

@media (min-width: 769px) {
    .mobile-user-menu {
        display: none;
    }
}

.mobile-only {
    display: none;
}

.display-none {
    display: none;
}

/* 移动端导航菜单样式 */

.navbar-menu.active {
    display: flex;
}

.mobile-auth-buttons {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
}

.mobile-auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    width: 100%;
}

.mobile-auth-buttons .nav-button {
    width: 80%;
    max-width: 250px;
    text-align: center;
    justify-content: center;
}


/* 大屏幕设备 (1200px及以上) */
@media (min-width: 1200px) {

    .nav-button {
        min-width: 140px;
    }

    .footer-list {
        padding: 30px 20px;
        flex-wrap: wrap;
    }

    .footer-list ul {
        margin-bottom: 20px;
    }

    .footer-content {
        padding: 20px;
    }

    .footer-logo {
        min-width: 200px;
    }

    .footer-logo-image {
        height: 35px;
    }

    /* .table tr th:last-child,
    .table tr td:last-child {
        position: sticky;
        right: 0;
        z-index: 2;
    } */

    /* .table tr th:first-child,
    .table tr td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
    } */

    /* .table tr td:last-child,
    .table tr td:first-child {
        background-color: #fff;
    } */

    /* .table tr td:last-child:hover,
    .table tr td:first-child:hover {
        background-color: rgb(225, 255, 255, 0);
    } */

    .table tbody tr:hover td:first-child {
        background-color: rgb(225, 255, 255, 0);
    }

}

/* 中等屏幕设备 (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .logo-image {
        height: 30px;
    }

    .nav-link {
        padding: 8px 4px;
    }

    .nav-button {
        min-width: 100px;
        padding: 10px 0px;
    }

    .navbar-menu {
        gap: 0px;
    }

    .footer-list-user {
        max-width: 960px !important;
    }

    .footer-content-user {
        max-width: 960px !important;
    }

    .footer-bottom-user {
        max-width: 960px !important;
    }

    .footer-list-user li {
        font-size: 1.4rem;
    }

    .footer-list-user span {
        font-size: 1.2rem;
    }


}

/* 小屏幕设备 (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {

    .logo-image {
        height: 30px;
        z-index: 9991;
    }

    .navbar-menu {
        gap: 4px;
    }

    /* 在小屏幕设备上也启用移动端导航 */
    .mobile-toggle {
        display: block;
    }

    .display-none {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        padding: 15px 88px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: background 0.3s ease;
        font-size: 1.7rem;
    }

    .nav-link:hover {
        background: #f8f9fa;
    }

    .nav-link.active {
        color: #206b8b;
        background: #f0f8ff;
    }

    .nav-link.active::after {
        display: none;
    }

    /* 移动端登录按钮 */

    .mobile-auth-buttons {
        display: block;
        border-top: 1px solid #eee;
    }

    .mobile-auth-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 20px;
        justify-content: center;
    }

    .mobile-auth-buttons .nav-button {
        width: 40%;
        max-width: unset;
        margin: 0 10px;
        font-size: 1.8rem;
        padding: 10px 15px;
    }

    /* 隐藏桌面端按钮 */
    .navbar-user {
        display: none;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* 移动端样式 */
@media (max-width: 768px) {

    .navbar-container {
        max-width: 90%;
    }

    .navbar-container-user {
        max-width: 90%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-auth-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 15px 20px;
        width: 100%;
    }

    .display-none {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        font-size: 1.6rem;
        padding: 15px 94px;
        font-weight: 500;
        transition: background 0.3s ease;
    }

    .nav-link:hover {
        background: #f8f9fa;
    }

    .nav-link.active {
        color: #206b8b;
        background: #f0f8ff;
    }

    .nav-link.active::after {
        display: none;
    }

    .mobile-auth-buttons {
        display: flex;
    }

    .navbar-user {
        display: none;
    }

    .nav-button {
        display: block !important;
        padding: 8px 15px;
        width: 100%;
        text-align: center;
        min-width: 120px;
    }

    .navbar-menu {
        display: none;
    }

    .footer-top {
        padding: 20px 15px;
    }

    .footer-list-user {
        flex-direction: column;
        padding: 20px 10px;
    }

    .footer-list {
        flex-direction: column;
        padding: 20px 10px;
    }

    .footer-list ul {
        flex: 1 1 auto;
        padding-right: 0;
        margin-bottom: 25px;
        width: 100%;
    }

    .footer-list li {
        padding-right: 30px;
    }

    .footer-list li::after {
        right: 10px;
    }

    .footer-list span {
        font-size: 13px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        padding: 0 15px !important;
    }

    .footer-logo {
        min-width: 100%;
        margin-top: 20px !important;
    }

    .footer-logo-image {
        height: 30px;
        margin: 0 auto;
    }

    .footer-column ul li {
        font-size: 14px;
        text-align: left !important;
    }

    .footer-bottom {
        padding: 15px 10px;
        font-size: 13px;
    }

}

/* 小手机设备 (321px-480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .mobile-toggle {
        display: block;
        font-size: 2.4rem;
    }

    .display-none {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 70px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .footer-content-user {
        flex-direction: column;
        gap: 25px;
        padding: 0 15px !important;
    }

    .footer-bottom-user {
        padding: 20px 15px 15px !important;
        font-size: 1.2rem !important;
    }

    .application h3 {
        text-align: center;
        font-size: 2.4rem;
    }

    .nav-link {
        font-size: 1.6rem;
        padding: 12px 36px;
    }

    .mobile-auth-container {
        padding: 15px;
    }

    .mobile-auth-buttons .nav-button {
        width: 90%;
        padding: 10px 12px;
        font-size: 1.6rem;
    }

    .footer-top {
        padding: 15px 10px;
    }

    .footer-list {
        padding: 15px 5px;
    }

    .footer-list ul {
        margin-bottom: 20px;
    }

    .footer-list-user ul {
        margin-bottom: 20px;
    }

    .footer-list li {
        padding: 0 25px 8px 0;
    }

    .footer-list-user li {
        padding: 0 25px 8px 0;
    }

    .footer-list span {
        font-size: 12px;
    }

    .footer-list-user span {
        font-size: 12px;
    }


    .footer-content {
        padding: 15px 10px;
    }

    .footer-column ul li {
        margin: 4px 0;
    }

    .footer-bottom {
        padding: 12px 5px;
        font-size: 12px;
    }

    .form-control {
        padding: 10px 15px;
        font-size: 1.4rem;
        margin-left: 10px;
    }
}


/* 页脚优化 */
.site-footer {
    color: #f0f0f0;
}

.footer-nav {
    background: #191e23;
}

.footer-top {
    background-color: #e8f1f9;
}

.footer-list {
    max-width: 1200px;
    padding: 40px 0;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}


.footer-list-user {
    max-width: 1000px;
    padding: 40px 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-list-user li {
    padding: 0 36px 4px 0;
    position: relative;
    margin-bottom: 10px;
    font-weight: 500;
    border-bottom: 1px solid rgb(32, 107, 139, 0.05);
}

.small-footer .footer-top li {
    padding: 0 30px 4px 0;
    position: relative;
    margin-bottom: 10px;
    font-weight: 500;
    border-bottom: 1px solid rgb(32, 107, 139, 0.05);
}

.footer-list-user li a {
    color: #206b8b;
}

.footer-list-user li::after {
    content: ">";
    position: absolute;
    top: 0;
    right: 0;
    color: #206b8b;
    z-index: 1;
    font-weight: 600;
}

.footer-list-user span {
    display: block;
    color: #357490;
    margin-bottom: 4px;
}



.footer-list li {
    padding: 0 60px 4px 0;
    position: relative;
    margin-bottom: 10px;
    font-weight: 500;
    border-bottom: 1px solid rgb(32, 107, 139, 0.05);
}

.footer-list li a {
    color: #206b8b;
}

.footer-list li::after {
    content: ">";
    position: absolute;
    top: 0;
    right: 0;
    color: #206b8b;
    z-index: 1;
    font-weight: 600;
}

.footer-list span {
    display: block;
    color: #357490;
    margin-bottom: 4px;
}

.footer-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    flex-wrap: wrap;
}

.footer-content-user {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    margin: auto 0;
    min-width: 250px;
}

.footer-logo-image {
    height: 40px;
}

.footer-list li a:hover {
    color: #3a9ec9;
}


.footer-logo p {
    color: #a0a5aa;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    color: #a0a5aa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.4rem;
    margin: 6px 0;
    text-align: right;
}

.footer-column ul li a:hover {
    color: #206b8b;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    border-top: 1px solid #333;
    text-align: center;
    color: #a0a5aa;
    font-size: 1rem;
}

.footer-bottom-user {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
    border-top: 1px solid #333;
    text-align: center;
    color: #a0a5aa;
    font-size: 1rem;
}

.form-group .red,
.form-group .grey,
.form-group1 span,
.upload-header span,
.requirement-header button {
    color: #ffffff;
    margin: auto 0;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    word-break: keep-all;
    border: none;
}

.input-indicator {
    background-color: #206b8b;
    color: white;
}

.confirm-indicator {
    background-color: #4CAF50;
    color: white;
}

.red {
    background: #e53939;
}

.grey {
    background: #c8c8c8;
}

.terms-link {
    color: #206b8b;
    text-decoration: underline;
}

.terms-link:hover {
    text-decoration: underline;
}

/* 欢迎 */
.warning-content {
    margin-bottom: 22px;
}

.warning-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.warning-content li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #404449;
}

/* 按钮容器 */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 2px solid #206b8b;
    border-radius: 4px;
    margin-right: 12px;
    transition: all 0.3s;
}

.checkbox-input:checked+.checkmark {
    background-color: #206b8b;
    border-color: #206b8b;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-input:checked+.checkmark::after {
    display: block;
}

.step-button {
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: 500;
    min-width: 287px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    box-shadow: 0 2px 6px 0 rgba(46, 46, 46, 0.2);
}

.step-button.next {
    background: #206b8b;
    color: white;
}

.card-title {
    color: #206b8b;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    position: relative;
    font-weight: 500;
    padding: 0 0px 0 8px;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #206b8b;
    box-sizing: border-box;
}

.card-title p {
    font-size: 16px;
}

.card-title span {
    margin: auto 0;
}

.card-title:before {
    content: "　";
    width: 100%;
    display: block;
    height: 1px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #206b8b;
    position: absolute;
    bottom: -8px;
    left: -5px;
    padding-right: 5px;
}

.parallel {
    display: flex;
    gap: 44px;
    margin-top: 22px;
    justify-content: space-between;
}

/* 输入框 */
.form-control {
    width: 100%;
    flex: 1;
    padding: 8px 15px;
    background-color: #e8f0fe;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: #2d3748;

}

/*.horizontal-group .form-control{*/
/*    margin-right: 10px;*/
/*}*/
.form-control:focus {
    outline: none;
    border-color: #206b8b;
    box-shadow: 0 0 0 3px rgba(4, 115, 234, 0.1);
    background-color: #fff;
}

.form-control:hover {
    border-color: #cbd5e0;
}

/* 下拉选择框 */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem;
}

.form-group1 {
    width: 100%;
    margin-bottom: 25px;
}

.company-message {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}


/* borrow-supplement */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.notice-item:before {
    content: "•";
    color: #206b8b;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.upload-notice {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.upload-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.upload-item:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.notice {
    padding: 22px;
}

.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0;
}

.upload-header h6 {
    margin: 0;
    color: #206b8b;
    font-weight: 500;
}

.notice .upload-header h6::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../../assets/images/attention.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.error::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../assets/images/error.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.warning::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../assets/images/warning.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.complete::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../assets/images/finish.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.i::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../assets/images/i.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.upload-description {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.file-upload-wrapper {
    margin-bottom: 15px;
}

.file-upload-label {
    display: block;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: #206b8b;
    background-color: #f8f9fa;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
}

.file-input {
    display: none;
}

.file-info {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.upload-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.upload-actions button {
    min-width: 287px;
}

.upload-actions-right {
    display: flex;
    gap: 22px;
}

.submit-button:hover {
    background-color: #206b8b;
    border-color: #206b8b;
}

/* borrow-applySupple */
.requirement-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.requirement-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.requirement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.requirement-header h6 {
    margin: 0;
    color: #206b8b;
    font-weight: 600;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group-row .form-group1 {
    flex: 1;
}

.form-group1 .info-input {
    width: 100%;
}

.form-group1 .form-control:focus {
    border-color: #206b8b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(32, 107, 139, 0.2);
}

.add-row-container {
    text-align: center;
    margin: 30px 0;
}

.btn-add {
    background-color: #206b8b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add:hover {
    background-color: #1a576f;
}

.action-buttons {
    text-align: center;
    padding: 20px 0;
}

.action-buttons .submit-button {
    padding: 12px 30px;
    font-size: 16px;
    background-color: #206b8b;
    border-color: #206b8b;
}

.action-buttons .submit-button:hover {
    background-color: #1a576f;
    border-color: #1a576f;
}

/* 移动端菜单按钮 */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 3.0rem;
    cursor: pointer;
    color: #333;
    padding: 0px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 9999;
}

.mobile-toggle:hover {
    background-color: #f0f0f0;
    color: #ff6b35;
}

/* 桌面端登录按钮 */
.display-none {
    display: none;
}

.display-none .nav-button {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.display-none .nav-button.primary-button {
    background: linear-gradient(135deg, #4691e1 0%, #206b8b 100%);
    color: white;
    border: none;
    box-shadow: 0 3px 6px rgba(255, 92, 0, 0.3);
}

.display-none .nav-button.primary-button:hover {
    background: linear-gradient(135deg, #4691e1 0%, #206b8b 100%);
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 92, 0, 0.3);
}

/* 个人中心模块样式 */
.navbar-user.desktop-only {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.user-info {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.user-avatar img {
    width: 100%;
    height: 60%;
}

.user-dropdown {
    position: relative;
    margin-left: 12px;
}

.user-dropdown:hover .user-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

.user-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000;
    padding: 10px 0;
    margin-top: 10px;
    transition: all 0.3s ease;
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
    ;
}

.user-name::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    background-image: url('/assets/images/dropdown.svg');
}

.user-menu-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #525355;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.user-menu-item:hover {
    background-color: #fff8f0;
    color: #206b8b;
    border-left: 3px solid #206b8b;
}


/* 日式风格分页样式 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 44px 0;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.pagination-item a:hover {
    background: #e9ecef;
}

.pagination-item .active {
    background: linear-gradient(135deg, #206b8b, #2a8bb5);
    color: white !important;
}

.pagination-item.prev a,
.pagination-item.next a {
    background: #f1f3f5;
}

.pagination-item.prev a:hover,
.pagination-item.next a:hover {
    background: #e9ecef;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
    align-items: center;
}

.pagination-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #cccccc;
    font-weight: normal;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination-item a:hover {
    background-color: #f5f5f5;
    color: #206b8b;
    border-color: #999999;
}

.pagination-item a.active,
.pagination-item a.active:hover {
    background-color: #206b8b;
    color: white;
    border-color: #206b8b;
    font-weight: bold;
}

/* 前后箭头按钮 */
.pagination-item.prev,
.pagination-item.next {
    font-size: 12px;
}

.pagination-item.prev a,
.pagination-item.next a {
    min-width: auto;
    padding: 0 12px;
}

.pagination-item.ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    color: #999999;
}

.pagination-item a:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-item a.active,
.pagination-item a.active:hover {
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.disclaimer {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-left: 4px solid #ffc107;
    padding: 20px 25px;
    margin: 25px 0;
    color: #5d4037;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.step-button:hover {
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.step-input-header {
    background-color: #e3f2fd;
    border-left: 5px solid #206b8b;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.step-confirm-header {
    background-color: #f1f8e9;
    border-left: 5px solid #4CAF50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.step-input-header h4,
.step-confirm-header h4 {
    margin: 0;
    font-weight: bold;
}

.step-input-header p,
.step-confirm-header p {
    margin: 5px 0 0 0;
    color: #666;
}

.step-indicator {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    margin-right: 10px;
}

/* 单选按钮组特殊样式 */
.info-radio3 .radio-group label {
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.info-radio3 .radio-group .unit-label {
    font-weight: 600;
    color: #555;
    margin: 8px 0 5px 8px;
    font-size: 14px;
    flex: 1;
}

input.form-control {
    flex: 1;
}

.marginLeft-10 {
    margin-left: 10px;
}

/* 输入框组特殊样式 */
.input-group-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.input-group-row .form-control {
    flex: 1;
    min-width: 140px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.input-group-row .form-control:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

/* 确认页面的特殊布局 */
.confirmation-group {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.confirmation-group p {
    font-weight: 600;
    color: #333;
    margin: 10px 0 8px;
}

.confirmation-group label {
    display: block;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 方向选择和结构选择的特殊样式 */
.direction-selection,
.structure-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.direction-selection input[type="radio"],
.structure-selection input[type="radio"] {
    margin-right: 5px;
}

.direction-selection label,
.structure-selection label {
    padding: 8px 15px;
    background-color: #f0f8ff;
    border: 1px solid #cce6ff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.direction-selection label:hover,
.structure-selection label:hover {
    background-color: #e1f0ff;
}

.direction-selection input[type="radio"]:checked+label,
.structure-selection input[type="radio"]:checked+label {
    background-color: #206b8b;
    color: white;
    border-color: #206b8b;
}

.compare-link.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }

    .requirement-item {
        padding: 15px;
    }

    .company-message {
        flex-flow: column;
    }
}