* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.sign-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.date-info {
    margin-bottom: 25px;
}

.current-date {
    font-size: 18px;
    font-weight: 600;
    color: #409EFF;
    margin-bottom: 5px;
}

.current-time {
    font-size: 14px;
    color: #666;
}

.sign-button-container {
    margin-bottom: 20px;
}

.sign-button {
    width: 100%;
    background: linear-gradient(135deg, #409EFF 0%, #67C23A 100%);
    border: none;
    border-radius: 15px;
    padding: 20px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(64, 158, 255, 0.3);
}

.sign-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 158, 255, 0.4);
}

.sign-button:active {
    transform: translateY(0);
}

.sign-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-icon {
    font-size: 20px;
}

.button-text {
    font-size: 16px;
}

.sign-status {
    padding: 15px;
    border-radius: 10px;
    background: #f5f5f5;
}

.status-text {
    font-size: 14px;
    color: #666;
}

.status-text.signed {
    color: #67C23A;
    font-weight: 600;
}

.status-text.running {
    color: #E6A23C;
    font-weight: 600;
}

.status-text.failed {
    color: #F56C6C;
    font-weight: 600;
}



.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-icon {
    font-size: 20px;
}

.toast-text {
    font-size: 16px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .sign-card {
        padding: 25px 20px;
    }
    

    
    .header h1 {
        font-size: 24px;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.sign-button:not(:disabled):hover {
    animation: pulse 0.6s ease-in-out;
}

/* 密码验证页面样式 */
.password-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.password-header {
    margin-bottom: 30px;
    color: #333;
}

.password-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.password-subtitle {
    font-size: 14px;
    color: #666;
}

.password-form {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.password-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.password-input:focus {
    outline: none;
    border-color: #409EFF;
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.1);
}

.password-button {
    width: 100%;
    background: linear-gradient(135deg, #409EFF 0%, #67C23A 100%);
    border: none;
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(64, 158, 255, 0.3);
}

.password-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 158, 255, 0.4);
}

.password-button:active {
    transform: translateY(0);
}

.password-hint {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .password-container {
        padding: 15px;
    }
    
    .password-card {
        padding: 30px 20px;
    }
    
    .password-header h1 {
        font-size: 20px;
    }
}

