html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.form-center {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}
body {
    min-height: 100vh;
    background: #fff;
    margin: 0;
    padding: 0;
    /* ç§»é™¤ä»¥ä¸‹å…¨å±€å±…ä¸­å¸ƒå±€ï¼Œé¿å…å½±å“ä¸»ç«™é¡µé¢å¸ƒå±€ */
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}
.top-logo-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 0;
}
.logo-img {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
}
.system-title {
    font-size: 2.2rem;
    color: #2255a4;
    font-weight: bold;
    letter-spacing: 2px;
}
/* ç§»é™¤.bg-image-cardå’Œ.bg-imageç›¸å…³æ ·å¼ */
/* ç™»å½•/æ³¨å†Œé¡µä¸“ç”¨è¡¨å•å±…ä¸­ */
.form-center .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 400px;
    max-width: 90vw;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 40px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ä¸»ç«™é¡µé¢é€šç”¨å¡ç‰‡å®¹å™¨ï¼Œå¼ºåˆ¶è¦†ç›–å‰é¢é—ç•™çš„ç»å¯¹å®šä½ */
.container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 1 !important;
    width: 370px;
    margin: 48px auto 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(64,158,255,0.10);
    padding: 38px 36px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 32px rgba(64,158,255,0.13);
    border-radius: 18px;
    margin-top: 0;
    margin-bottom: 0;
}
.container .logo-in-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.logo-in-card img {
    height: 60px;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
h2 {
    text-align: center;
    margin-bottom: 28px;
    color: #409eff;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 38px;
    height: 3px;
    background: linear-gradient(90deg, #409eff 60%, #66b1ff 100%);
    border-radius: 2px;
    margin: 10px auto 0 auto;
}
.form-group {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
}
.form-group label {
    width: 74px;
    color: #555;
    font-size: 15px;
    flex-shrink: 0;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
    background: #f8fbff;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #409eff;
    background: #fff;
}
.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-group input {
    width: 90px;
    margin-right: 0;
}
.captcha-group img {
    height: 38px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(64,158,255,0.08);
    background: #fff;
}
button[type="submit"], .add-btn {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #409eff 60%, #66b1ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(64,158,255,0.10);
}
button[type="submit"]:hover, .add-btn:hover {
    background: #3076d1;
}
.link {
    text-align: right;
    margin-top: 16px;
    font-size: 15px;
}
.link a {
    color: #409eff;
    text-decoration: none;
    padding-left: 4px;
    transition: color 0.2s;
}
.link a:hover {
    text-decoration: underline;
    color: #3076d1;
}
.msg {
    margin-top: 16px;
    color: #e74c3c;
    text-align: center;
    min-height: 20px;
    font-size: 15px;
}
@media (max-width: 600px) {
    .container {
        width: 98vw;
        padding: 18px 2vw 18px 2vw;
        margin-top: 0;
        margin-bottom: 0;
    }
}
hr {
    border: none;
    border-top: 1.5px solid #f0f0f0;
    margin: 32px 0 18px 0;
}
#profileForm, #passwordForm {
    margin-bottom: 0;
}
#profileForm button, #passwordForm button {
    margin-top: 8px;
} 
/* tasks.html é¡¶éƒ¨æ¬¢è¿Žè¯­å’Œå¤´åƒ */
.topbar {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: none;
    box-shadow: none;
    padding: 0 38px 0 0;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.avatar {
    width: 36px;
    height: 36px;
    background: #fff;
    color: #409eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 6px;
    box-shadow: 0 1px 4px rgba(64,158,255,0.10);
}
#logoutBtn, #switchAccount { display: none !important; }
@media (max-width: 700px) {
    .dropdown-content {
        min-width: 100px;
        padding: 4px 0;
    }
    .dropdown-content a {
        font-size: 14px;
        padding: 8px 12px;
    }
    .topbar {
        padding: 0 8px 0 0;
    }
} 
/* ç™»å½•/æ³¨å†Œé¡µä¸“ç”¨è¡¨å•å±…ä¸­ */
.form-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.platform-logo {
    width: 600px;
    max-width: 90vw;
    height: auto;
    display: block;
    margin-bottom: 32px;
}
.chatbot-iframe-wrapper {
  width: 80%;
  max-width: 900px;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chatbot-iframe-wrapper iframe {
  width: 100%;
  height: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: none;
} 
.main-container {
    width: 100%;
    max-width: 700px;
    margin: 48px auto 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(64,158,255,0.10);
    padding: 38px 36px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 32px rgba(64,158,255,0.13);
    border-radius: 18px;
    margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .main-container {
        max-width: 98vw;
        padding: 18px 2vw 18px 2vw;
    }
} 

/* å¯¼èˆªæ ä¸Žä¸‹æ‹‰èœå•æ ·å¼æ¢å¤ */
.navbar {
    width: 100%;
    height: 64px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(64,158,255,0.08);
    padding: 0 38px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}
.navbar-left {
    display: flex;
    align-items: center;
}
.navbar-logo {
    height: 200px;
    max-width: 300px;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
    transition: height 0.2s;
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
}
.navbar-right a {
    color: #409eff;
    font-size: 17px;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 22px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    background: none;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.navbar-right a:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 22px;
    background: #e0e6ed;
    margin-left: 18px;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}
.navbar-right a.active,
.navbar-right a:active {
    background: linear-gradient(90deg, #409eff 60%, #66b1ff 100%);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(64,158,255,0.10);
}
.navbar-right a:hover {
    background: #e6f0fb;
    color: #3076d1;
    box-shadow: 0 2px 8px rgba(64,158,255,0.10);
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown .dropbtn {
    background: none;
    border: none;
    color: #409eff;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.dropdown .dropbtn.active,
.dropdown .dropbtn:active {
    background: linear-gradient(90deg, #409eff 60%, #66b1ff 100%);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(64,158,255,0.10);
}
.dropdown .dropbtn:hover {
    background: #e6f0fb;
    color: #3076d1;
}
.dropdown .arrow {
    margin-left: 6px;
    font-size: 13px;
    transition: transform 0.2s;
}
.dropdown:hover .arrow {
    transform: rotate(180deg);
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    min-width: 140px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(64,158,255,0.13);
    border-radius: 10px;
    z-index: 100;
    padding: 8px 0;
    margin-top: 2px;
}
.dropdown-content a {
    color: #409eff;
    padding: 10px 22px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover {
    background: #e6f0fb;
    color: #3076d1;
}
.dropdown:hover .dropdown-content {
    display: block;
}
@media (max-width: 700px) {
    .navbar {
        padding: 0 2vw;
        height: 48px;
    }
    .navbar-logo {
        height: 32px;
        max-width: 100px;
    }
    .navbar-right {
        gap: 10px;
    }
    .navbar-right a {
        font-size: 14px;
        padding: 4px 8px;
    }
} 

/* é¦–é¡µä¸»å†…å®¹åŒºå·¦å³å¸ƒå±€ä¼˜åŒ– */
.tasks-main {
    display: flex;
    max-width: 1100px;
    margin: 36px auto 0 auto;
    gap: 28px;
    align-items: flex-start;
    justify-content: center;
}
/* æ—¥åŽ†å¡ç‰‡æ”¾å¤§ä¼˜åŒ– */
.calendar-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    padding: 32px 28px 28px 28px;
    width: 340px;
    min-width: 260px;
    max-width: 400px;
    flex-shrink: 0;
}
.calendar-table th, .calendar-table td {
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    color: #409eff;
}
.calendar-table td {
    color: #333;
    background: #fff;
    border-radius: 4px;
    transition: background 0.2s;
    font-size: 19px;
}
.task-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    padding: 28px 28px 22px 28px;
    flex: 1 1 0%;
    min-width: 340px;
    max-width: 700px;
}
@media (max-width: 900px) {
    .tasks-main {
        flex-direction: column;
        gap: 18px;
        max-width: 98vw;
    }
    .calendar-panel, .task-panel {
        min-width: unset;
        width: 100%;
        max-width: 98vw;
        padding: 18px 2vw 18px 2vw;
    }
} 

/* ä¸»é¢˜UIç¾ŽåŒ–æ ·å¼è¡¥å…¨ */
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    padding: 28px 32px 24px 32px;
    min-width: 320px;
}
.calendar-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    padding: 28px 32px 24px 32px;
}
.task-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    padding: 28px 32px 24px 32px;
}
.add-btn, button[type="submit"] {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #409eff 60%, #66b1ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(64,158,255,0.10);
}
.add-btn:hover, button[type="submit"]:hover {
    background: #3076d1;
}
.form-group input[type="text"], .form-group input[type="password"], .form-group select {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
    background: #f8fbff;
}
.form-group input:focus, .form-group select:focus {
    border-color: #409eff;
    background: #fff;
}
h2, h3 {
    color: #409eff;
    font-weight: 600;
    margin-bottom: 18px;
}
.msg {
    margin-top: 16px;
    color: #e74c3c;
    text-align: center;
    min-height: 20px;
    font-size: 15px;
} 
/* ä»»åŠ¡ç¼–è¾‘å’Œåˆ é™¤æŒ‰é’®ç¾ŽåŒ– */
.task-list li .task-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 12px;
}
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: #409eff;
}
.icon-btn:hover {
    background: #e6f0fb;
} 

/* å¼ºä¼˜å…ˆçº§ï¼šæ—¥åŽ†å¡ç‰‡æ”¾å¤§ä¸Žä»»åŠ¡æŒ‰é’®ç¾ŽåŒ– */
.calendar-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    padding: 32px 28px 28px 28px;
    width: 340px;
    min-width: 260px;
    max-width: 400px;
    flex-shrink: 0;
}
.calendar-table th, .calendar-table td {
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    color: #409eff;
}
.calendar-table td {
    color: #333;
    background: #fff;
    border-radius: 4px;
    transition: background 0.2s;
    font-size: 19px;
}
.task-list li .task-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 12px;
}
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: #409eff;
}
.icon-btn:hover {
    background: #e6f0fb;
} 
.calendar-panel {
    max-width: 900px;
    min-width: 500px;
    width: 800px;
    padding: 40px 40px 32px 40px;
}
.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-bottom: 16px;
}
#calendarMonth {
    flex: 1;
    text-align: center;
}
.calendar-nav {
    min-width: 40px;
}
.calendar-table {
    width: 100%;
    table-layout: fixed;
    font-size: 1.5rem;
}
.calendar-table th, .calendar-table td {
    width: 14.28%;
    text-align: center;
    padding: 18px 0;
    font-size: 1.5rem;
} 
.current-stage {
    background: #e6f0fb;
    color: #2255a4;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 18px 0 0 0;
    font-size: 1.1rem;
    text-align: center;
}
#timelinePanel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(64,158,255,0.08);
    margin-top: 18px;
    padding: 12px 8px 18px 8px;
} 
.footer {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 32px;
    padding-bottom: 18px;
    flex-shrink: 0;
}
.footer-links a {
    color: #409eff;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #2255a4;
    text-decoration: underline;
}
.footer-content > span {
    display: block;
    margin-bottom: 4px;
}
@media (max-width: 600px) {
    .footer-content > span {
        font-size: 13px;
    }
} 
.info-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  margin: 32px auto 0 auto;
  max-width: 1100px;
}
.info-row .user-status-panel {
  min-width: 220px;
  max-width: 260px;
  flex: 0 0 240px;
}
.info-row .bento-grid {
  flex: 1 1 400px;
  min-width: 260px;
  max-width: 700px;
}
@media (max-width: 900px) {
  .info-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-width: 98vw;
  }
  .info-row .user-status-panel, .info-row .bento-grid {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
  }
} 