 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: "Microsoft JhengHei", Arial, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
        }
        
        .login-container {
            width: 100%;
            max-width: 650px;
            background: white;
            border: 3px solid #d0d0d0;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(to right, #f8f9fa, #e9ecef);
            padding: 20px;
            border-bottom: 2px solid #dee2e6;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .logo {
            position: relative;
            width: 50px;
            height: 50px;
            flex-shrink: 0;
        }
        
        .logo-circle {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #6c757d, #495057);
            border-radius: 50%;
            position: relative;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        }
        
        .logo-leaf {
            position: absolute;
            top: 10px;
            right: 5px;
            width: 25px;
            height: 15px;
            background: #28a745;
            border-radius: 0 15px 15px 0;
            transform: rotate(-10deg);
        }
        
        .logo-leaf::before {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 10px;
            background: #34ce57;
            border-radius: 0 12px 12px 0;
        }
        
        .company-info {
            text-align: center;
            flex: 1;
            min-width: 200px;
        }
        
        .company-name {
            font-size: 13px;
            color: #6c757d;
            font-weight: normal;
            margin-bottom: 3px;
        }
        
        .welcome-text {
            font-size: 24px;
            color: #2c3e50;
            font-weight: 500;
            letter-spacing: 1px;
        }
        
        .form-container {
            padding: 0;
        }
        
        .form-row {
            display: flex;
            min-height: 70px;
            border-bottom: 1px solid #e9ecef;
        }
        
        .form-row:last-child {
            border-bottom: none;
        }
        
        .form-label {
            width: 140px;
            background: linear-gradient(to right, #f8f9fa, #f1f3f4);
            border-right: 1px solid #e9ecef;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 15px 20px;
            flex-shrink: 0;
        }
        
        .label-chinese {
            font-size: 16px;
            color: #2c3e50;
            font-weight: 500;
            margin-bottom: 2px;
        }
        
        .label-english {
            font-size: 11px;
            color: #6c757d;
            font-weight: normal;
        }
        
        .form-input {
            flex: 1;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            background: white;
        }
        
        .input-field {
            width: 100%;
            max-width: 280px;
            height: 44px;
            padding: 12px 15px;
            border: 2px solid #ced4da;
            border-radius: 6px;
            font-size: 16px;
            font-family: inherit;
            transition: all 0.3s ease;
        }
        
        .input-field:focus {
            outline: none;
            border-color: #007bff;
            box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
        }
        
        .input-field.error {
            border-color: #dc3545;
            box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
        }
        
        .password-container {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
        }
        
        .password-container .input-field {
            flex: 1;
            max-width: none;
        }
        
        .show-btn {
            padding: 12px 18px;
            background: #f8f9fa;
            border: 1px solid #ced4da;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            color: #495057;
            transition: all 0.3s ease;
            white-space: nowrap;
            min-width: 60px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .show-btn:hover {
            background: #e9ecef;
            border-color: #adb5bd;
        }
        
        .captcha-container {
            display: flex;
    				flex-direction: column;  /* 新增：改為垂直排列 */
    				align-items: stretch;    /* 修改：改為拉伸 */
    				gap: 12px;              /* 修改：縮小間距 */
    				width: 100%;
    				flex-wrap: nowrap;      /* 修改：不換行 */
        }
        
        .captcha-input {
            width: 120px !important;
    				max-width: 120px !important;
    				align-self: flex-start;  /* 新增：輸入框靠左對齊 */
    				margin: 0;              /* 新增：移除邊距 */
        }
        
        .captcha-display {
            background: linear-gradient(45deg, #dc3545, #c82333);
    				color: white;
    				padding: 12px 20px;
    				border-radius: 6px;
    				font-size: 20px;
    				font-weight: bold;
    				letter-spacing: 4px;
    				text-decoration: line-through;
    				cursor: pointer;
    				user-select: none;
    				box-shadow: 0 2px 8px rgba(220,53,69,0.3);
    				transition: all 0.3s ease;
    				min-width: 100px;
    				text-align: center;
    				align-self: center;      /* 新增：顯示區居中對齊 */
    				width: auto;            /* 新增：自動寬度 */
    				margin-top: 8px;        /* 新增：上方間距 */
        }
        
        .captcha-display:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(220,53,69,0.4);
        }
        
        .language-select {
            width: 100%;
            max-width: 280px;
            height: 44px;
            padding: 12px 15px;
            border: 2px solid #ced4da;
            border-radius: 6px;
            font-size: 16px;
            font-family: inherit;
            background: white;
            cursor: pointer;
        }
        
        .login-section {
            padding: 25px;
            text-align: center;
            background: #f8f9fa;
            border-top: 1px solid #e9ecef;
        }
        
        .login-btn {
            padding: 15px 50px;
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0,123,255,0.3);
            min-height: 50px;
            width: 100%;
            max-width: 200px;
            position: relative;
        }
        
        .login-btn:hover:not(:disabled) {
            background: linear-gradient(135deg, #0056b3, #004085);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,123,255,0.4);
        }
        
        .login-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .login-btn .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 8px;
        }
        
        .login-btn.loading .spinner {
            display: inline-block;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .message {
            padding: 12px 20px;
            margin: 15px 20px;
            border-radius: 6px;
            font-size: 14px;
            display: none;
            animation: slideDown 0.3s ease;
        }
        
        .message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .message.show {
            display: block;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 手機版優化 */
        @media (max-width: 768px) {
            body {
                padding: 5px;
            }
            
            .login-container {
                margin: 0;
                max-width: none;
                border-radius: 8px;
                border-width: 2px;
            }
            
            .header {
                padding: 15px;
            }
            
            .welcome-text {
                font-size: 20px;
            }
            
            .form-row {
               flex-direction: row; /* 改回水平排列 */
            }
            
            .form-label {
                width: 100px; /* 從 100% 改為固定寬度 */
            }
            
            .form-input {
                padding: 12px 20px 20px 20px;
            }
            
            .input-field, .language-select {
                max-width: none;
                font-size: 16px;
            }
            
            .password-container ,
            .captcha-container {
                flex-direction: row; /* 保持水平 */
            }
            
            .captcha-input {
                width: 100px !important;
                max-width: 100px !important;
            }
            
            .login-btn {
                width: 100%;
                max-width: none;
            }
            
            .form-row {
        			flex-direction: row !important;
    				}
    
    				.form-label {
        			width: 100px !important;
        			border-right: 1px solid #e9ecef !important;
        			border-bottom: none !important;
    				}
    
    				.label-english {
        			display: none !important;
    				}
    				
    				.captcha-container {
        			flex-direction: column !important; /* 修改：強制垂直排列 */
        			align-items: stretch !important;   /* 新增：拉伸對齊 */
    				}
    
    				.captcha-input {
        			width: 100px !important;
        			max-width: 100px !important;
        			align-self: flex-start !important; /* 新增：輸入框靠左 */
    				}
    
    				.captcha-display {
        			align-self: center !important;     /* 新增：顯示區居中 */
        			width: auto !important;            /* 新增：自動寬度 */
        			max-width: 200px !important;       /* 新增：最大寬度限制 */
    				}
    				
        }
        
        @media (max-width: 480px) {
    		.captcha-container {
    		    flex-direction: column !important;
    		    align-items: stretch !important;
    		}
    		
    		.captcha-input {
    		    width: 90px !important;            /* 修改：固定較小寬度 */
    		    max-width: 90px !important;        /* 修改：固定較小寬度 */
    		    align-self: flex-start !important; /* 新增：靠左對齊 */
    		}
    		
    		.captcha-display {
    		    width: auto !important;            /* 修改：自動寬度 */
    		    max-width: 180px !important;       /* 新增：最大寬度 */
    		    align-self: center !important;     /* 新增：居中對齊 */
    		    font-size: 16px;                  /* 新增：較小字體 */
    		    letter-spacing: 2px;              /* 新增：較小字間距 */
    		}
}
        
       
}