* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 24px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    width: min(680px, 92vw);
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    padding: 28px 36px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 8px;
    margin: 6px 0 4px;
}

.modal-body {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 10px;
    color: #333;
    line-height: 1.8;
    font-size: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

.notice-section h3 {
    font-size: 18px;
    margin: 16px 0 8px;
    color: #1a1a1a;
}

.notice-section p {
    margin: 6px 0;
    color: #333;
    font-size: 14px;
}

.modal-btn {
    align-self: center;
    width: min(360px, 100%);
    padding: 14px 20px;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.modal-btn:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.modal-btn:disabled {
    background: #1f1f1f;
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* 背景装饰大圆 */
.bg-circle {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, #fce8a8 0%, #f5d97f 100%);
    border-radius: 50%;
    z-index: 0;
}

/* 登录卡片容器 */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 770px;
    height: 500px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* 左侧图片区域 */
.left-section {
    flex: 1;
    background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: -15px;
    overflow: hidden;
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bc1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 导演板图标 */
.director-board-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    z-index: 20;


}

.director-board-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.icon-placeholder {
    font-size: 28px;
}

/* 机器人图片占位 */
.robot-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.robot-image-img {
    width: 800px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transform: scaleX(-1);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    position: relative;
}

/* 右侧登录表单区域 */
.right-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.login-title {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-align: center;
}

.welcome-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 50px;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 输入框容器 */
.input-wrapper {
    position: relative;
    width: 100%;
}

.password-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    color: #333;
}

.password-input::placeholder {
    color: #bbb;
}

.password-input:focus {
    border-color: #3a3a3a;
}

/* 眼睛图标按钮 */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #333;
}

.eye-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background: #2d2d2d;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 4px;
}

.submit-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 响应式设计 - 平板 */
@media (max-width: 900px) {
    .login-container {
        width: 90%;
        max-width: 700px;
        height: auto;
    }
    
    .left-section {
        padding: 30px;
    }
    
    .robot-image-img {
        width: 600px;
    }
    
    .robot-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .robot-placeholder::before {
        font-size: 60px;
    }
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    
    .bg-circle {
        width: 500px;
        height: 500px;
        top: -30%;
    }
    
    .login-container {
        flex-direction: column;
        width: 100%;
        max-width: 450px;
        height: auto;
        border-radius: 24px;
    }
    
    .left-section {
        min-height: 200px;
        padding: 30px 20px;
    }
    
    .director-board-icon {
        width: 95px;
        height: 95px;
        top: 20px;
        right: 20px;
    }
        width: 40px;
        height: 40px;
    }
    
    .icon-placeholder {
        font-size: 22px;
    }
    
    .robot-image-img {
        width: 500px;
    }
    
    .robot-placeholder {
        width: 140px;
        height: 140px;
    }
    
    .robot-placeholder::before {
        font-size: 50px;
    }
    
    .right-section {
        padding: 40px 30px;
    }
    
    .login-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .welcome-text {
        font-size: 13px;
        margin-bottom: 35px;
    }
    
    .login-form {
        gap: 25px;
    }
    
    .password-input {
        padding: 14px 45px 14px 18px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 15px;
        letter-spacing: 3px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .bg-circle {
        width: 400px;
        height: 400px;
        top: -25%;
    }
    
    .login-container {
        border-radius: 20px;
    }
    
    .left-section {
        min-height: 180px;
        padding: 25px 15px;
    }
    
    .director-board-icon {
        width: 75px;
        height: 75px;
        top: 15px;
        right: 15px;
    }
        top: 15px;
        right: 15px;
    }
    
    .icon-placeholder {
        font-size: 18px;
    }
    
    .robot-image-img {
        width: 400px;
    }
    
    .robot-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .robot-placeholder::before {
        font-size: 45px;
    }
    
    .right-section {
        padding: 35px 25px;
    }
    
    .login-title {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .welcome-text {
        font-size: 12px;
        margin-bottom: 30px;
    }
    
    .login-form {
        gap: 20px;
    }
    
    .password-input {
        padding: 13px 40px 13px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .toggle-password {
        right: 12px;
        padding: 6px;
    }
    
    .eye-icon {
        width: 20px;
        height: 20px;
    }
    
    .submit-btn {
        padding: 13px;
        font-size: 14px;
        letter-spacing: 2px;
        border-radius: 10px;
    }
}

/* 横屏适配 */
@media (max-width: 768px) and (orientation: landscape) {
    .login-container {
        flex-direction: row;
        max-width: 650px;
    }
    
    .left-section {
        min-height: auto;
        flex: 0.8;
    }
    
    .right-section {
        flex: 1.2;
        padding: 30px 35px;
    }
    
    .robot-image-img {
        width: 280px;
    }
    
    .robot-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .robot-placeholder::before {
        font-size: 40px;
    }
    
    .login-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .welcome-text {
        margin-bottom: 25px;
    }
    
    .login-form {
        gap: 20px;
    }
}
